public function __construct($height = 1, $color = '0,0,0') { $this->item = parent::__construct('hr'); $this->setHeight($height); $this->setColor($color); }
protected function __construct($tagName, $variable) { parent::__construct($tagName); $this->setVariable($variable); }