Your IP : 18.118.252.215


Current Path : /home/lentoinv/api.lentoria.com/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/
Upload File :
Current File : //home/lentoinv/api.lentoria.com/vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsResource.php

<?php
namespace Hamcrest\Type;

/*
 Copyright (c) 2010 hamcrest.org
 */
use Hamcrest\Core\IsTypeOf;

/**
 * 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;
    }
}

?>