PHP Class WellCommerce\Bundle\ThemeBundle\Locator\TemplateLocator

Inheritance: extends Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator
Afficher le fichier Open project: wellcommerce/wellcommerce Class Usage Examples

Méthodes publiques

Méthode Description
getLocator ( ) : Symfony\Component\Config\FileLocatorInterface
locate ( string | Symfony\Component\Templating\TemplateReferenceInterface $template, null $currentPath = null, boolean $first = true ) : string Returns a full path for a given file.

Méthodes protégées

Méthode Description
getCacheKey ( $template )

Method Details

getCacheKey() protected méthode

protected getCacheKey ( $template )

getLocator() public méthode

public getLocator ( ) : Symfony\Component\Config\FileLocatorInterface
Résultat Symfony\Component\Config\FileLocatorInterface

locate() public méthode

Returns a full path for a given file.
public locate ( string | Symfony\Component\Templating\TemplateReferenceInterface $template, null $currentPath = null, boolean $first = true ) : string
$template string | Symfony\Component\Templating\TemplateReferenceInterface
$currentPath null
$first boolean
Résultat string The full path for the file