Foo.php 336 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace DeepCopy\f003;
  3. class Foo
  4. {
  5. private $name;
  6. private $prop;
  7. public function __construct($name)
  8. {
  9. $this->name = $name;
  10. }
  11. public function getProp()
  12. {
  13. return $this->prop;
  14. }
  15. public function setProp($prop)
  16. {
  17. $this->prop = $prop;
  18. return $this;
  19. }
  20. }