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