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

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

/**
 * Tests whether the value is a resource.
 */
class IsResource extends IsTypeOf
{

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

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