PHP Класс WellCommerce\Bundle\ThemeBundle\Locator\FileLocator

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

Защищенные свойства (Protected)

Свойство Тип Описание
$themeLocator WellCommerce\Bundle\ThemeBundle\Locator\ThemeLocatorInterface

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

Метод Описание
__construct ( WellCommerce\Bundle\ThemeBundle\Locator\ThemeLocatorInterface $themeLocator, array $paths = [] ) FileLocator constructor.
locate ( mixed $name, string | null $dir = null, boolean $first = true ) : array | string Returns a full path for a given template

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

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

FileLocator constructor.
public __construct ( WellCommerce\Bundle\ThemeBundle\Locator\ThemeLocatorInterface $themeLocator, array $paths = [] )
$themeLocator WellCommerce\Bundle\ThemeBundle\Locator\ThemeLocatorInterface
$paths array

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

Returns a full path for a given template
public locate ( mixed $name, string | null $dir = null, boolean $first = true ) : array | string
$name mixed
$dir string | null
$first boolean
Результат array | string

Описание свойств

$themeLocator защищенное свойство

protected ThemeLocatorInterface,WellCommerce\Bundle\ThemeBundle\Locator $themeLocator
Результат WellCommerce\Bundle\ThemeBundle\Locator\ThemeLocatorInterface