PHP Class Symfony\Bundle\TwigBundle\Extension\TemplatingExtension

Author: Fabien Potencier ([email protected])
Inheritance: extends Twig_Extension
Mostrar archivo Open project: pmjones/php-framework-benchmarks

Protected Properties

Property Type Description
$container

Public Methods

Method Description
__construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
abbrClass ( $class )
abbrMethod ( $method )
dump ( $value )
fileExcerpt ( $file, $line )
formatArgs ( $args )
formatArgsAsText ( $args )
formatFile ( $file, $line )
formatFileFromText ( $text )
getContainer ( )
getFilters ( )
getName ( ) : string Returns the name of the extension.
getTemplating ( )
getTokenParsers ( ) : array Returns the token parser instance to add to the existing list.
yamlEncode ( $input, $inline )

Method Details

__construct() public method

public __construct ( Symfony\Component\DependencyInjection\ContainerInterface $container )
$container Symfony\Component\DependencyInjection\ContainerInterface

abbrClass() public method

public abbrClass ( $class )

abbrMethod() public method

public abbrMethod ( $method )

dump() public method

public dump ( $value )

fileExcerpt() public method

public fileExcerpt ( $file, $line )

formatArgs() public method

public formatArgs ( $args )

formatArgsAsText() public method

public formatArgsAsText ( $args )

formatFile() public method

public formatFile ( $file, $line )

formatFileFromText() public method

public formatFileFromText ( $text )

getContainer() public method

public getContainer ( )

getFilters() public method

public getFilters ( )

getName() public method

Returns the name of the extension.
public getName ( ) : string
return string The extension name

getTemplating() public method

public getTemplating ( )

getTokenParsers() public method

Returns the token parser instance to add to the existing list.
public getTokenParsers ( ) : array
return array An array of Twig_TokenParser instances

yamlEncode() public method

public yamlEncode ( $input, $inline )

Property Details

$container protected_oe property

protected $container