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