public function getDestinationWebPath()
    {
        if (!empty($this->web_root_path)) {
            return str_replace($this->web_root_path, '', $this->getDestinationRealPath());
        } elseif (false===$this->silent) {
            throw new \LogicException(
                '[Compressor] Can\'t create web path because "web_root_path" is not defined!'
            );
        }
        return null;
    }
public function getDestinationWebPath()
    {
        if (!empty($this->web_root_path)) {
            return str_replace($this->web_root_path, '', $this->getDestinationRealPath());
        } elseif (false===$this->silent) {
            throw new \LogicException(
                '[Compressor] Can\'t create web path because "web_root_path" is not defined!'
            );
        }
        return null;
    }
public function getDestinationWebPath ( ) { if ( ! empty ( $ this -> web_root_path ) ) { return str_replace ( $ this -> web_root_path , '' , $ this -> getDestinationRealPath ( ) ) ; } elseif ( false === $ this -> silent ) { throw new \ LogicException ( '[Compressor] Can\'t create web path because "web_root_path" is not defined!' ) ; } return null ; }
Get the destination file path ready for web inclusion

@return string The file path to write in
@throws \LogicException if the web root path has not been set (and silent==false)
Get the destination file path ready for web inclusion