public function getResource()
    {
        if ($this->_resource === null) {
            $this->_resource = $this->toResource();
        }
        return $this->_resource;
    }
public function getResource()
    {
        if ($this->_resource === null) {
            $this->_resource = $this->toResource();
        }
        return $this->_resource;
    }
public function getResource ( ) { if ( $ this -> _resource === null ) { $ this -> _resource = $ this -> toResource ( ) ; } return $ this -> _resource ; }
Returns persistent stream resource, which can be used to read file.
@return resource file stream resource.
Returns persistent stream resource which can be used to read file .