public function reset($path = '') {
        clearstatcache();

        $this->_cache = array();

        if ($path) {
            $this->_data['name'] = basename($path);
            $this->_path = $path;
        }

        return $this;
    }
public function reset($path = '') {
        clearstatcache();

        $this->_cache = array();

        if ($path) {
            $this->_data['name'] = basename($path);
            $this->_path = $path;
        }

        return $this;
    }
public function reset ( $ path = '' ) { clearstatcache ( ) ; $ this -> _cache = array ( ) ; if ( $ path ) { $ this -> _data [ 'name' ] = basename ( $ path ) ; $ this -> _path = $ path ; } return $ this ; }
Reset all cache.

@param string $path
@return \Transit\File
Reset all cache .