private function getViewPath(IView $view, bool $checkVars) : string
    {
        $data = ['u' => $view->getContents()];

        if ($checkVars) {
            $data['v'] = $view->getVars();
        }

        return $this->path . '/' . md5(http_build_query($data));
    }
private function getViewPath(IView $view, bool $checkVars) : string
    {
        $data = ['u' => $view->getContents()];

        if ($checkVars) {
            $data['v'] = $view->getVars();
        }

        return $this->path . '/' . md5(http_build_query($data));
    }
private function getViewPath ( IView $ view , bool $ checkVars ) : string { $ data = [ 'u' => $ view -> getContents ( ) ] ; if ( $ checkVars ) { $ data [ 'v' ] = $ view -> getVars ( ) ; } return $ this -> path . '/' . md5 ( http_build_query ( $ data ) ) ; }
Gets path to cached view

@param IView $view The view whose cached file path we want
@param bool $checkVars Whether or not we want to also check for variable value equivalence when looking up cached views
@return string The path to the cached view
Gets path to cached view