public function getBrowserPath($path, $filter, array $runtimeConfig = [], $resolver = null)
    {
        if (!empty($runtimeConfig)) {
            $rcPath = $this->getRuntimePath($path, $runtimeConfig);

            return $this->isStored($rcPath, $filter, $resolver) ?
                $this->resolve($rcPath, $filter, $resolver) :
                $this->generateUrl($path, $filter, $runtimeConfig, $resolver);
        }

        return $this->isStored($path, $filter, $resolver) ?
            $this->resolve($path, $filter, $resolver) :
            $this->generateUrl($path, $filter, [], $resolver);
    }
public function getBrowserPath($path, $filter, array $runtimeConfig = [], $resolver = null)
    {
        if (!empty($runtimeConfig)) {
            $rcPath = $this->getRuntimePath($path, $runtimeConfig);

            return $this->isStored($rcPath, $filter, $resolver) ?
                $this->resolve($rcPath, $filter, $resolver) :
                $this->generateUrl($path, $filter, $runtimeConfig, $resolver);
        }

        return $this->isStored($path, $filter, $resolver) ?
            $this->resolve($path, $filter, $resolver) :
            $this->generateUrl($path, $filter, [], $resolver);
    }
public function getBrowserPath ( $ path , $ filter , array $ runtimeConfig = [ ] , $ resolver = null ) { if ( ! empty ( $ runtimeConfig ) ) { $ rcPath = $ this -> getRuntimePath ( $ path , $ runtimeConfig ) ; return $ this -> isStored ( $ rcPath , $ filter , $ resolver ) ? $ this -> resolve ( $ rcPath , $ filter , $ resolver ) : $ this -> generateUrl ( $ path , $ filter , $ runtimeConfig , $ resolver ) ; } return $ this -> isStored ( $ path , $ filter , $ resolver ) ? $ this -> resolve ( $ path , $ filter , $ resolver ) : $ this -> generateUrl ( $ path , $ filter , [ ] , $ resolver ) ; }
Gets filtered path for rendering in the browser.
It could be the cached one or an url of filter action.

@param string $path          The path where the resolved file is expected
@param string $filter
@param array  $runtimeConfig
@param string $resolver

@return string
Gets filtered path for rendering in the browser . It could be the cached one or an url of filter action .