B.php 250 B

1234567891011121314151617181920
  1. <?php
  2. namespace DeepCopy\f001;
  3. class B extends A
  4. {
  5. private $bProp;
  6. public function getBProp()
  7. {
  8. return $this->bProp;
  9. }
  10. public function setBProp($prop)
  11. {
  12. $this->bProp = $prop;
  13. return $this;
  14. }
  15. }