public function __toString()
 {
     return parent::__toString() . "<br>Color: {$this->color}";
 }
 public function __toString()
 {
     return parent::__toString();
 }
예제 #3
0
파일: Canario.php 프로젝트: jamayo/GIT
 public function __toString()
 {
     return parent::__toString() . "<br>Velocidades: {$this->velocidades}" . "<br>Tipo: {$this->tipo}";
 }