PEEL Shopping
Open source ecommerce : PEEL Shopping
Public Member Functions
Twig_TokenParserBrokerInterface Interface Reference

Interface implemented by token parser brokers. More...

Inheritance diagram for Twig_TokenParserBrokerInterface:
Twig_TokenParserBroker

Public Member Functions

 getTokenParser ($tag)
 Gets a TokenParser suitable for a tag. More...
 
 setParser (Twig_ParserInterface $parser)
 Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of. More...
 
 getParser ()
 Gets the Twig_ParserInterface. More...
 

Detailed Description

Interface implemented by token parser brokers.

Token parser brokers allows to implement custom logic in the process of resolving a token parser for a given tag name.

Author
Arnaud Le Blanc arnau.nosp@m.d.lb.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition at line 21 of file TokenParserBrokerInterface.php.

Member Function Documentation

getParser ( )

Gets the Twig_ParserInterface.

Returns
null|Twig_ParserInterface A Twig_ParserInterface instance or null

Implemented in Twig_TokenParserBroker.

getTokenParser (   $tag)

Gets a TokenParser suitable for a tag.

Parameters
string$tagA tag name
Returns
null|Twig_TokenParserInterface A Twig_TokenParserInterface or null if no suitable TokenParser was found

Implemented in Twig_TokenParserBroker.

setParser ( Twig_ParserInterface  $parser)

Calls Twig_TokenParserInterface::setParser on all parsers the implementation knows of.

Parameters
Twig_ParserInterface$parserA Twig_ParserInterface interface

Implemented in Twig_TokenParserBroker.


The documentation for this interface was generated from the following file:

This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:45 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.