PHP Class Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension

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

Public Methods

Method 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

Method Description
addTwigPath ( $twigFilesystemLoaderDefinition, $dir, $bundle )

Method Details

getNamespace() public method

public getNamespace ( )

getXsdValidationBasePath() public method

Returns the base path for the XSD files.
public getXsdValidationBasePath ( ) : string
return string The XSD base path

load() public method

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