Exemplo n.º 1
0
 /**
  * @return string
  */
 public function __toString()
 {
     $st = parent::__toString();
     $st .= 'The level of constructor: ' . $this->level . '<br>';
     return $st;
 }
Exemplo n.º 2
0
 /**
  * @return string
  */
 public function __toString()
 {
     $st = parent::__toString();
     $st .= 'Size of Soft toy is: ' . $this->size . '<br>';
     return $st;
 }
Exemplo n.º 3
0
 /**
  * @return string
  */
 public function __toString()
 {
     $st = parent::__toString();
     $st .= 'The subject of book: ' . $this->subject . '<br>';
     return $st;
 }