protected function getRealAssetName($assetName)
    {
        $prefix = 0 === strpos($assetName, '?') ? '?' : '';
        $assetName = ltrim($assetName, '?');

        if (null !== $this->replacementManager && $this->replacementManager->hasReplacement($assetName)) {
            $assetName = $this->replacementManager->getReplacement($assetName);
        }

        return $prefix.$assetName;
    }
protected function getRealAssetName($assetName)
    {
        $prefix = 0 === strpos($assetName, '?') ? '?' : '';
        $assetName = ltrim($assetName, '?');

        if (null !== $this->replacementManager && $this->replacementManager->hasReplacement($assetName)) {
            $assetName = $this->replacementManager->getReplacement($assetName);
        }

        return $prefix.$assetName;
    }
protected function getRealAssetName ( $ assetName ) { $ prefix = 0 === strpos ( $ assetName , '?' ) ? '?' : '' ; $ assetName = ltrim ( $ assetName , '?' ) ; if ( null !== $ this -> replacementManager && $ this -> replacementManager -> hasReplacement ( $ assetName ) ) { $ assetName = $ this -> replacementManager -> getReplacement ( $ assetName ) ; } return $ prefix . $ assetName ; }
Get the real asset name.

@param string $assetName The asset name required

@return string
Get the real asset name .