PHP Класс Bolt\Asset\UnprefixedPathPackage

Автор: Carson Full ([email protected])
Наследование: extends Symfony\Component\Asset\PathPackage
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $prefix, string $basePath, Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface $versionStrategy, Symfony\Component\Asset\Context\ContextInterface $context ) Constructor.
getUrl ( $path )
getVersion ( $path )

Защищенные методы

Метод Описание
removePrefix ( $path )

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $prefix, string $basePath, Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface $versionStrategy, Symfony\Component\Asset\Context\ContextInterface $context )
$prefix string A prefix to remove from path (before base path is applied).
$basePath string The base path to be prepended to relative paths
$versionStrategy Symfony\Component\Asset\VersionStrategy\VersionStrategyInterface The version strategy
$context Symfony\Component\Asset\Context\ContextInterface The request context

getUrl() публичный Метод

public getUrl ( $path )

getVersion() публичный Метод

public getVersion ( $path )

removePrefix() защищенный Метод

protected removePrefix ( $path )