function __construct(Component $ownerComponent) { parent::__construct($ownerComponent); $this->metadata = Reflection::instance()->of(get_class($this)); $this->metadata->init($this); }