/** * @param Component $parent */ function __construct(Component $parent) { parent::__construct(); $this->setParent($parent); }