PHP Class Sulu\Bundle\SnippetBundle\Twig\DefaultSnippetTwigExtension

Inheritance: extends Twig_Extension
Mostrar archivo Open project: sulu/sulu

Public Methods

Method Description
__construct ( Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface $defaultSnippetManager, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer, Sulu\Bundle\SnippetBundle\Snippet\SnippetResolverInterface $snippetResolver )
getDefault ( $snippetType, $webspaceKey = null, $locale = null )
getFunctions ( )
getName ( )

Method Details

__construct() public method

public __construct ( Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface $defaultSnippetManager, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer, Sulu\Bundle\SnippetBundle\Snippet\SnippetResolverInterface $snippetResolver )
$defaultSnippetManager Sulu\Bundle\SnippetBundle\Snippet\DefaultSnippetManagerInterface
$requestAnalyzer Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface
$snippetResolver Sulu\Bundle\SnippetBundle\Snippet\SnippetResolverInterface

getDefault() public method

public getDefault ( $snippetType, $webspaceKey = null, $locale = null )

getFunctions() public method

public getFunctions ( )

getName() public method

public getName ( )