private function resolvePath($path)
    {
        try {
            return $this->locator->locate($path, $this->webRoot);
        } catch (\InvalidArgumentException $e) {
            // happens when path is not bundle relative
            return $this->webRoot . '/' . $path;
        }
    }
private function resolvePath($path)
    {
        try {
            return $this->locator->locate($path, $this->webRoot);
        } catch (\InvalidArgumentException $e) {
            // happens when path is not bundle relative
            return $this->webRoot . '/' . $path;
        }
    }
private function resolvePath ( $ path ) { try { return $ this -> locator -> locate ( $ path , $ this -> webRoot ) ; } catch ( \ InvalidArgumentException $ e ) { // happens when path is not bundle relative return $ this -> webRoot . '/' . $ path ; } }
Resolve path to absolute if any bundle is mentioned
@param string $path
@return string
Resolve path to absolute if any bundle is mentioned