/** * Creates a new instance of IsDouble */ public function __construct() { parent::__construct('double'); }
/** * Creates a new instance of IsArray */ public function __construct() { parent::__construct('array'); }
/** * Creates a new instance of IsCallable */ public function __construct() { parent::__construct('callable'); }
/** * Creates a new instance of IsString */ public function __construct() { parent::__construct('string'); }
public function __construct() { parent::__construct('scalar'); }
/** * Creates a new instance of IsInteger */ public function __construct() { parent::__construct('integer'); }
public function __construct() { parent::__construct('number'); }
/** * Creates a new instance of IsObject */ public function __construct() { parent::__construct('object'); }
protected function createMatcher() { return \Hamcrest\Core\IsTypeOf::typeOf('integer'); }
/** * Is the value a particular built-in type? */ function typeOf($theType) { return \Hamcrest\Core\IsTypeOf::typeOf($theType); }
/** * Creates a new instance of IsResource */ public function __construct() { parent::__construct('resource'); }
/** * Creates a new instance of IsBoolean */ public function __construct() { parent::__construct('boolean'); }