public function __construct($parent, $alias, $name, $args = []) { parent::__construct(); $this->model = new RuntimeModel($parent, $alias, $name, $args); $this->model->setEventEmitter($this); }