/
home
/
sjslayjy
/
public_html
/
drone
/
vendor
/
hamcrest
/
hamcrest-php
/
hamcrest
/
Hamcrest
/
Type
/
Upload File
HOME
<?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; } }