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