Browse Source

betatesting correctif

develop
Charly 3 years ago
parent
commit
0ec9f94dc7
5 changed files with 2 additions and 14 deletions
  1. +0
    -6
      Controller/Reminder/ReminderAdminController.php
  2. +0
    -1
      Controller/User/UserAdminController.php
  3. +0
    -1
      Form/Setting/SiteSettingsFormType.php
  4. +0
    -4
      Model/Site/PageModel.php
  5. +2
    -2
      Model/Site/SiteModel.php

+ 0
- 6
Controller/Reminder/ReminderAdminController.php View File

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;
} }



+ 0
- 1
Controller/User/UserAdminController.php View File

TranslatorAdmin $translatorAdmin, TranslatorAdmin $translatorAdmin,
RolesDefinitionInterface $rolesDefinition RolesDefinitionInterface $rolesDefinition
) { ) {
parent::__construct($session, $request, $em, $translatorAdmin);
$this->rolesDefinition = $rolesDefinition; $this->rolesDefinition = $rolesDefinition;
} }



+ 0
- 1
Form/Setting/SiteSettingsFormType.php View File

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;

+ 0
- 4
Model/Site/PageModel.php View File

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;


/** /**

+ 2
- 2
Model/Site/SiteModel.php View File

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;


/** /**

Loading…
Cancel
Save