Working : Refactor adapter into facade

This commit is contained in:
gmorel
2013-10-10 22:29:53 +02:00
parent 7f59c8a954
commit 5a6f6483b1
23 changed files with 123 additions and 144 deletions

View File

@@ -5,7 +5,7 @@ use Thelia\Condition\Implementation\MatchForEveryoneManager;
use Thelia\Condition\Implementation\MatchForTotalAmountManager;
use Thelia\Condition\Implementation\MatchForXArticlesManager;
use Thelia\Condition\Operators;
use Thelia\Coupon\AdapterInterface;
use Thelia\Coupon\FacadeInterface;
use Thelia\Coupon\ConditionCollection;
@@ -644,7 +644,7 @@ function generateCouponFixtures(\Thelia\Core\Thelia $thelia)
{
/** @var $container ContainerInterface Service Container */
$container = $thelia->getContainer();
/** @var AdapterInterface $adapter */
/** @var FacadeInterface $adapter */
$adapter = $container->get('thelia.adapter');
// Coupons