/** * AbstractView constructor. * * @param array $settings * */ public function __construct($settings = []) { $this->forge = Forge::getInstance(); parent::__construct($settings); }
/** * @param array|Context $context */ function __construct($context = []) { parent::__construct($context instanceof Context ? $context->copy() : $context); }