SerializedClass.php 953 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?php
  2. namespace Doctrine\Tests\Common\Proxy;
  3. /**
  4. * Test asset class
  5. */
  6. class SerializedClass
  7. {
  8. /**
  9. * @var mixed
  10. */
  11. private $foo = 'foo';
  12. /**
  13. * @var mixed
  14. */
  15. protected $bar = 'bar';
  16. /**
  17. * @var mixed
  18. */
  19. public $baz = 'baz';
  20. /**
  21. * @param mixed $foo
  22. */
  23. public function setFoo($foo)
  24. {
  25. $this->foo = $foo;
  26. }
  27. /**
  28. * @return mixed|string
  29. */
  30. public function getFoo()
  31. {
  32. return $this->foo;
  33. }
  34. /**
  35. * @param $bar
  36. */
  37. public function setBar($bar)
  38. {
  39. $this->bar = $bar;
  40. }
  41. /**
  42. * @return mixed|string
  43. */
  44. public function getBar()
  45. {
  46. return $this->bar;
  47. }
  48. /**
  49. * @param $baz
  50. */
  51. public function setBaz($baz)
  52. {
  53. $this->baz = $baz;
  54. }
  55. /**
  56. * @return mixed|string
  57. */
  58. public function getBaz()
  59. {
  60. return $this->baz;
  61. }
  62. }