Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. * A simple object that defines your application state,
  5. * this can use default value, etc. complexity that you
  6. * might want to have in a real world application.
  7. *
  8. */
  9.  
  10. namespace AppBundle\State;
  11.  
  12. class AppState {
  13.  
  14. public $animals;
  15.  
  16. /**
  17. * @return mixed
  18. */
  19. public function getAnimals()
  20. {
  21. return $this->animals;
  22. }
  23.  
  24. /**
  25. * @param mixed $animals
  26. */
  27. public function setAnimals($animals)
  28. {
  29. $this->animals = $animals;
  30. }
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement