namespace Lc\SovBundle\Controller\Reminder; | namespace Lc\SovBundle\Controller\Reminder; | ||||
use Doctrine\ORM\EntityManagerInterface; | use Doctrine\ORM\EntityManagerInterface; | ||||
use Lc\CaracoleBundle\Resolver\MerchantResolver; | |||||
use Lc\CaracoleBundle\Resolver\SectionResolver; | |||||
use Lc\SovBundle\Factory\Reminder\ReminderFactoryInterface; | use Lc\SovBundle\Factory\Reminder\ReminderFactoryInterface; | ||||
use Lc\SovBundle\Form\Reminder\ReminderAdminFormType; | use Lc\SovBundle\Form\Reminder\ReminderAdminFormType; | ||||
use Lc\SovBundle\Repository\Reminder\ReminderRepositoryQueryInterface; | use Lc\SovBundle\Repository\Reminder\ReminderRepositoryQueryInterface; | ||||
ReminderRepositoryQueryInterface $reminderRepositoryQuery, | ReminderRepositoryQueryInterface $reminderRepositoryQuery, | ||||
FormFactoryInterface $formFactory, | FormFactoryInterface $formFactory, | ||||
UrlGeneratorInterface $urlGenerator, | UrlGeneratorInterface $urlGenerator, | ||||
MerchantResolver $merchantResolver, | |||||
SectionResolver $sectionResolver, | |||||
ParameterBagInterface $parameterBag | ParameterBagInterface $parameterBag | ||||
) { | ) { | ||||
$this->entityManager = $entityManager; | $this->entityManager = $entityManager; | ||||
$this->reminderRepositoryQuery = $reminderRepositoryQuery; | $this->reminderRepositoryQuery = $reminderRepositoryQuery; | ||||
$this->formFactory = $formFactory; | $this->formFactory = $formFactory; | ||||
$this->urlGenerator = $urlGenerator; | $this->urlGenerator = $urlGenerator; | ||||
$this->merchantResolver = $merchantResolver; | |||||
$this->sectionResolver = $sectionResolver; | |||||
$this->parameterBag = $parameterBag; | $this->parameterBag = $parameterBag; | ||||
} | } | ||||
TranslatorAdmin $translatorAdmin, | TranslatorAdmin $translatorAdmin, | ||||
RolesDefinitionInterface $rolesDefinition | RolesDefinitionInterface $rolesDefinition | ||||
) { | ) { | ||||
parent::__construct($session, $request, $em, $translatorAdmin); | |||||
$this->rolesDefinition = $rolesDefinition; | $this->rolesDefinition = $rolesDefinition; | ||||
} | } | ||||
namespace Lc\SovBundle\Form\Setting; | namespace Lc\SovBundle\Form\Setting; | ||||
use Doctrine\ORM\EntityManagerInterface; | use Doctrine\ORM\EntityManagerInterface; | ||||
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; | |||||
use Lc\SovBundle\Model\Site\SiteInterface; | use Lc\SovBundle\Model\Site\SiteInterface; | ||||
use Lc\SovBundle\Translation\TranslatorAdmin; | use Lc\SovBundle\Translation\TranslatorAdmin; | ||||
use Symfony\Bridge\Doctrine\Form\Type\EntityType; | use Symfony\Bridge\Doctrine\Form\Type\EntityType; |
namespace Lc\SovBundle\Model\Site; | namespace Lc\SovBundle\Model\Site; | ||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Doctrine\Extension\FilterMerchantInterface; | |||||
use Lc\CaracoleBundle\Doctrine\Extension\FilterSectionInterface; | |||||
use Lc\CaracoleBundle\Model\Merchant\MerchantInterface; | |||||
use Lc\CaracoleBundle\Model\Section\SectionInterface; | |||||
use Lc\SovBundle\Doctrine\Pattern\AbstractFullEntity; | use Lc\SovBundle\Doctrine\Pattern\AbstractFullEntity; | ||||
/** | /** |
use Doctrine\Common\Collections\ArrayCollection; | use Doctrine\Common\Collections\ArrayCollection; | ||||
use Doctrine\Common\Collections\Collection; | use Doctrine\Common\Collections\Collection; | ||||
use Doctrine\ORM\Mapping as ORM; | use Doctrine\ORM\Mapping as ORM; | ||||
use Lc\CaracoleBundle\Model\Setting\EntitySettingTrait; | |||||
//use Lc\CaracoleBundle\Model\Setting\EntitySettingTrait; | |||||
use Lc\SovBundle\Model\Setting\SiteSettingInterface; | use Lc\SovBundle\Model\Setting\SiteSettingInterface; | ||||
use Lc\SovBundle\Doctrine\EntityInterface; | use Lc\SovBundle\Doctrine\EntityInterface; | ||||
use Lc\SovBundle\Doctrine\Extension\DevAliasInterface; | use Lc\SovBundle\Doctrine\Extension\DevAliasInterface; | ||||
abstract class SiteModel implements SiteInterface, EntityInterface, DevAliasInterface | abstract class SiteModel implements SiteInterface, EntityInterface, DevAliasInterface | ||||
{ | { | ||||
use EntitySettingTrait; | |||||
// use EntitySettingTrait; | |||||
use DevAliasTrait; | use DevAliasTrait; | ||||
/** | /** |