public function __construct($style = null) { parent::__construct(); if ($style !== null) { $this->copyFrom($style); } }