PHP Class Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Components\DependencyInjection\Loader\LoaderExtension
Afficher le fichier Open project: symfony/symfony Class Usage Examples

Méthodes publiques

Méthode Description
getNamespace ( )
getXsdValidationBasePath ( ) : string Returns the base path for the XSD files.
load ( array $configs, ContainerBuilder $container ) Responds to the twig configuration parameter.

Private Methods

Méthode Description
addTwigPath ( $twigFilesystemLoaderDefinition, $dir, $bundle )

Method Details

getNamespace() public méthode

public getNamespace ( )

getXsdValidationBasePath() public méthode

Returns the base path for the XSD files.
public getXsdValidationBasePath ( ) : string
Résultat string The XSD base path

load() public méthode

Responds to the twig configuration parameter.
public load ( array $configs, ContainerBuilder $container )
$configs array
$container Symfony\Component\DependencyInjection\ContainerBuilder