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