コード例 #1
0
ファイル: IsDouble.php プロジェクト: qasem2rubik/laravel
 /**
  * Creates a new instance of IsDouble
  */
 public function __construct()
 {
     parent::__construct('double');
 }
コード例 #2
0
 /**
  * Creates a new instance of IsArray
  */
 public function __construct()
 {
     parent::__construct('array');
 }
コード例 #3
0
ファイル: IsCallable.php プロジェクト: qasem2rubik/laravel
 /**
  * Creates a new instance of IsCallable
  */
 public function __construct()
 {
     parent::__construct('callable');
 }
コード例 #4
0
 /**
  * Creates a new instance of IsString
  */
 public function __construct()
 {
     parent::__construct('string');
 }
コード例 #5
0
 public function __construct()
 {
     parent::__construct('scalar');
 }
コード例 #6
0
 /**
  * Creates a new instance of IsInteger
  */
 public function __construct()
 {
     parent::__construct('integer');
 }
コード例 #7
0
 public function __construct()
 {
     parent::__construct('number');
 }
コード例 #8
0
 /**
  * Creates a new instance of IsObject
  */
 public function __construct()
 {
     parent::__construct('object');
 }
コード例 #9
0
 protected function createMatcher()
 {
     return \Hamcrest\Core\IsTypeOf::typeOf('integer');
 }
コード例 #10
0
 /**
  * Is the value a particular built-in type?
  */
 function typeOf($theType)
 {
     return \Hamcrest\Core\IsTypeOf::typeOf($theType);
 }
コード例 #11
0
 /**
  * Creates a new instance of IsResource
  */
 public function __construct()
 {
     parent::__construct('resource');
 }
コード例 #12
0
ファイル: IsBoolean.php プロジェクト: ngitimfoyo/Nyari-AppPHP
 /**
  * Creates a new instance of IsBoolean
  */
 public function __construct()
 {
     parent::__construct('boolean');
 }