コード例 #1
0
ファイル: IsBoolean.php プロジェクト: zhangjingli35/hamcrest
 /**
  * Creates a new instance of IsBoolean
  */
 public function __construct()
 {
     parent::__construct('boolean');
 }
コード例 #2
0
ファイル: IsScalar.php プロジェクト: zhangjingli35/hamcrest
 public function __construct()
 {
     parent::__construct('scalar');
 }
コード例 #3
0
ファイル: IsArray.php プロジェクト: zhangjingli35/hamcrest
 /**
  * Creates a new instance of IsArray
  */
 public function __construct()
 {
     parent::__construct('array');
 }
コード例 #4
0
ファイル: IsInteger.php プロジェクト: zhangjingli35/hamcrest
 /**
  * Creates a new instance of IsInteger
  */
 public function __construct()
 {
     parent::__construct('integer');
 }
コード例 #5
0
ファイル: IsObject.php プロジェクト: zhangjingli35/hamcrest
 /**
  * Creates a new instance of IsObject
  */
 public function __construct()
 {
     parent::__construct('object');
 }
コード例 #6
0
ファイル: IsDouble.php プロジェクト: zhangjingli35/hamcrest
 /**
  * Creates a new instance of IsDouble
  */
 public function __construct()
 {
     parent::__construct('double');
 }
コード例 #7
0
ファイル: IsNumeric.php プロジェクト: zhangjingli35/hamcrest
 public function __construct()
 {
     parent::__construct('number');
 }
コード例 #8
0
ファイル: IsCallable.php プロジェクト: zhangjingli35/hamcrest
 /**
  * Creates a new instance of IsCallable
  */
 public function __construct()
 {
     parent::__construct('callable');
 }
コード例 #9
0
ファイル: IsResource.php プロジェクト: zhangjingli35/hamcrest
 /**
  * Creates a new instance of IsResource
  */
 public function __construct()
 {
     parent::__construct('resource');
 }
コード例 #10
0
ファイル: IsString.php プロジェクト: zhangjingli35/hamcrest
 /**
  * Creates a new instance of IsString
  */
 public function __construct()
 {
     parent::__construct('string');
 }