public function __construct(View $parent = null) { parent::__construct($parent->getSettings()); $this->setParent($parent); }