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

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

/**
 * Tests whether the value is an array.
 */
class IsArray extends IsTypeOf
{

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

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