PHP Класс Bolt\Filesystem\Plugin\AssetUrl
If this plugin is given packages and the filesystem has a mount point
it will be used as the package name for getting the url.
For example:
$fs = Bolt\Filesystem\Manager
$fs->url('foo://bar.jpg');
Uses the package "foo" in the Packages class to generate url.
Показать файл
Открыть проект
Защищенные свойства (Protected)
Свойство |
Тип |
Описание |
|
$packages |
Symfony\Component\Asset\Packages | Symfony\Component\Asset\PackageInterface |
|
|
Открытые методы
Метод |
Описание |
|
__construct ( Symfony\Component\Asset\Packages | Symfony\Component\Asset\PackageInterface $packages ) |
Constructor. |
|
getMethod ( ) |
|
|
handle ( string $path ) : string |
Returns the public url/path of an asset. |
|
Описание методов
__construct()
публичный метод
public __construct ( Symfony\Component\Asset\Packages | Symfony\Component\Asset\PackageInterface $packages ) |
$packages |
Symfony\Component\Asset\Packages | Symfony\Component\Asset\PackageInterface |
|
getMethod()
публичный метод
Returns the public url/path of an asset.
Описание свойств
$packages защищенное свойство
protected Packages,Symfony\Component\Asset|PackageInterface,Symfony\Component\Asset $packages |
Результат |
Symfony\Component\Asset\Packages | Symfony\Component\Asset\PackageInterface |
|