public function __construct($element = null) { if ($element instanceof Element\ElementInterface) { $this->setDataFromElement($element); } }