PHPUnit_Framework_Assert::isType PHP Method

isType() public static method

Returns a PHPUnit_Framework_Constraint_IsType matcher object.
public static isType ( string $type ) : PHPUnit_Framework_Constraint_IsType
$type string
return PHPUnit_Framework_Constraint_IsType
    public static function isType($type)
    {
        return new PHPUnit_Framework_Constraint_IsType($type);
    }

Usage Example

Esempio n. 1
0
/**
 * Returns a PHPUnit_Framework_Constraint_IsType matcher object.
 *
 * @param  string $type
 * @return PHPUnit_Framework_Constraint_IsType
 * @since  Method available since Release 3.0.0
 */
function isType($type)
{
    return PHPUnit_Framework_Assert::isType($type);
}
All Usage Examples Of PHPUnit_Framework_Assert::isType
PHPUnit_Framework_Assert