Using templates for conditions HTML fragments

This commit is contained in:
Franck Allimant
2014-05-02 12:06:21 +02:00
parent 859e9ca60b
commit 5518c6f0bd
4 changed files with 34 additions and 5 deletions

View File

@@ -17,6 +17,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Translation\TranslatorInterface;
use Thelia\Condition\ConditionEvaluator;
use Thelia\Core\HttpFoundation\Request;
use Thelia\Core\Template\ParserInterface;
use Thelia\Model\Coupon;
/**
@@ -129,6 +130,12 @@ interface FacadeInterface
* @return TranslatorInterface
*/
public function getTranslator();
/**
* Return platform ParserInterface
*
* @return ParserInterface
*/
public function getParser();
/**
* Return the main currency