PHP Class WellCommerce\Bundle\ThemeBundle\Locator\TemplateLocator

Inheritance: extends Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator
ファイルを表示 Open project: wellcommerce/wellcommerce Class Usage Examples

Public Methods

Method 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.

Protected Methods

Method Description
getCacheKey ( $template )

Method Details

getCacheKey() protected method

protected getCacheKey ( $template )

getLocator() public method

public getLocator ( ) : Symfony\Component\Config\FileLocatorInterface
return Symfony\Component\Config\FileLocatorInterface

locate() public method

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
return string The full path for the file