public function load($refresh = false, array $options = array())
    {
        if ($refresh || $this->_contents === null) {
            $this->_contents = @file_get_contents($this->_path);

            if ($this->_contents === false) {
                throw LoadException::create($this->_path);
            }

            $this->setContents($this->decode($options));
        }

        return $this;
    }
public function load($refresh = false, array $options = array())
    {
        if ($refresh || $this->_contents === null) {
            $this->_contents = @file_get_contents($this->_path);

            if ($this->_contents === false) {
                throw LoadException::create($this->_path);
            }

            $this->setContents($this->decode($options));
        }

        return $this;
    }
public function load ( $ refresh = false , array $ options = array ( ) ) { if ( $ refresh || $ this -> _contents === null ) { $ this -> _contents = @ file_get_contents ( $ this -> _path ) ; if ( $ this -> _contents === false ) { throw LoadException :: create ( $ this -> _path ) ; } $ this -> setContents ( $ this -> decode ( $ options ) ) ; } return $ this ; }
Opens a file.

@param bool  $refresh - If this is true then the file will be open even if it was open before.
@param array $options - Options.

@throws LoadException

@return $this
Opens a file .