Exemplo n.º 1
0
 public function __construct($shape)
 {
     parent::__construct($shape);
 }
Exemplo n.º 2
0
 function __construct($centerX, $centerY, $side)
 {
     parent::__construct($centerX, $centerY);
     $this->side = $side;
 }
Exemplo n.º 3
0
 public function __construct($x_center, $y_center, $color, $line_dim, $length)
 {
     parent::__construct('square', $x_center, $y_center, $color, $line_dim);
     $this->length = $length;
 }
Exemplo n.º 4
0
 function __construct($a, $b, $c, $p, $name)
 {
     $this->b = $b;
     $this->c = $c;
     parent::__construct($a, $p, $name);
 }