mageekguy\atoum\asserters\phpResource::setWith PHP Метод

setWith() публичный Метод

public setWith ( $value )
    public function setWith($value)
    {
        parent::setWith($value);
        if ($this->analyzer->isResource($this->value) === true) {
            $this->pass();
        } else {
            $this->fail($this->_('%s is not a resource', $this));
        }
        return $this;
    }