function fromResource($value)
    {
        $this->clear();
        $this->orignalValue = $this->returnValue  = stream_get_contents($value);
        return $this->parse();
    }
function fromResource($value)
    {
        $this->clear();
        $this->orignalValue = $this->returnValue  = stream_get_contents($value);
        return $this->parse();
    }
function fromResource ( $ value ) { $ this -> clear ( ) ; $ this -> orignalValue = $ this -> returnValue = stream_get_contents ( $ value ) ; return $ this -> parse ( ) ; }
Create a Url instance from a resource.

@param resource $value
@return $this
Create a Url instance from a resource .