Вход Регистрация
Файл: gapps/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsBoolean.php
Строк: 21
<?php
namespace HamcrestType;

/*
 Copyright (c) 2010 hamcrest.org
 */
use HamcrestCoreIsTypeOf;

/**
 * Tests whether the value is a boolean.
 */
class IsBoolean extends IsTypeOf
{

    
/**
     * Creates a new instance of IsBoolean
     */
    
public function __construct()
    {
        
parent::__construct('boolean');
    }

    
/**
     * Is the value a boolean?
     *
     * @factory boolValue
     */
    
public static function booleanValue()
    {
        return new 
self;
    }
}
Онлайн: 3
Реклама