public function __construct($shape) { parent::__construct($shape); }
function __construct($centerX, $centerY, $side) { parent::__construct($centerX, $centerY); $this->side = $side; }
public function __construct($x_center, $y_center, $color, $line_dim, $length) { parent::__construct('square', $x_center, $y_center, $color, $line_dim); $this->length = $length; }
function __construct($a, $b, $c, $p, $name) { $this->b = $b; $this->c = $c; parent::__construct($a, $p, $name); }