public function __construct($values = [], $instanceType = null)
 {
     if (!$instanceType && !$this->type) {
         throw new \InvalidArgumentException('InstanceCollection requires a defined type');
     }
     parent::__construct($values, $instanceType);
 }
Esempio n. 2
0
 /**
  * @param array set of value to be appened to the collection
  */
 function __construct(array $array = array())
 {
     parent::__construct('ISqlValueExpression', $array);
 }