public function __construct($class) { if (!is_string($class)) { throw new InvalidArgumentException(__METHOD__ . ' expects parameter 1 to be a string'); } parent::__construct($class); }
public function __construct($value, $strict = false) { parent::__construct($value); $this->_strict = (bool) $strict; }
public function __construct(array $list, $emptyListSatisfiesAll = false, $strict = false) { parent::__construct($list); $this->_emptyListSatisfiesAll = (bool) $emptyListSatisfiesAll; $this->_strict = (bool) $strict; }
public function __construct() { parent::__construct(null); }