Commit 6ef63186 authored by Jani's avatar Jani
Browse files

Hotovo

parent 185ef72c
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20230615080611 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE TABLE jezek (id INT AUTO_INCREMENT NOT NULL, cena_id INT DEFAULT NULL, znak_id INT DEFAULT NULL, vuz_id INT DEFAULT NULL, jmeno VARCHAR(255) DEFAULT NULL, poznavacicislo VARCHAR(255) DEFAULT NULL, heslo VARCHAR(255) DEFAULT NULL, datum VARCHAR(255) DEFAULT NULL, email VARCHAR(255) DEFAULT NULL, INDEX IDX_82D4557443935287 (cena_id), INDEX IDX_82D4557436FF0CEC (znak_id), INDEX IDX_82D45574C0097C1A (vuz_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE test1 (id INT AUTO_INCREMENT NOT NULL, test1 VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE test2 (id INT AUTO_INCREMENT NOT NULL, test2 VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE test3 (id INT AUTO_INCREMENT NOT NULL, test3 VARCHAR(255) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE messenger_messages (id BIGINT AUTO_INCREMENT NOT NULL, body LONGTEXT NOT NULL, headers LONGTEXT NOT NULL, queue_name VARCHAR(190) NOT NULL, created_at DATETIME NOT NULL, available_at DATETIME NOT NULL, delivered_at DATETIME DEFAULT NULL, INDEX IDX_75EA56E0FB7336F0 (queue_name), INDEX IDX_75EA56E0E3BD61CE (available_at), INDEX IDX_75EA56E016BA31DB (delivered_at), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('ALTER TABLE jezek ADD CONSTRAINT FK_82D4557443935287 FOREIGN KEY (cena_id) REFERENCES test1 (id)');
$this->addSql('ALTER TABLE jezek ADD CONSTRAINT FK_82D4557436FF0CEC FOREIGN KEY (znak_id) REFERENCES test2 (id)');
$this->addSql('ALTER TABLE jezek ADD CONSTRAINT FK_82D45574C0097C1A FOREIGN KEY (vuz_id) REFERENCES test3 (id)');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE jezek DROP FOREIGN KEY FK_82D4557443935287');
$this->addSql('ALTER TABLE jezek DROP FOREIGN KEY FK_82D4557436FF0CEC');
$this->addSql('ALTER TABLE jezek DROP FOREIGN KEY FK_82D45574C0097C1A');
$this->addSql('DROP TABLE jezek');
$this->addSql('DROP TABLE test1');
$this->addSql('DROP TABLE test2');
$this->addSql('DROP TABLE test3');
$this->addSql('DROP TABLE messenger_messages');
}
}
......@@ -4,6 +4,7 @@ namespace App\Controller;
use App\Entity\Jezek;
use App\Form\JezekType;
use Doctrine\Persistence\ManagerRegistry;
use Symfony\Component\Asset\UrlPackage;
use Symfony\Component\Form\FormBuilder;
......@@ -42,7 +43,7 @@ class JezekController extends BaseController
// preda data do sablony
return $this->render("Jezek/default.html.twig", [ "TITLE" => " Default " , "form" => $form->createView()]);
......@@ -83,7 +84,10 @@ class JezekController extends BaseController
return $this->render("Jezek/delete.html.twig" , [ "TITLE" => " Delete " ]);
}
public function __toString()
{
return $this->entreprise_nom;
}
......
<?php
namespace App\Entity;
use App\Repository\JezekRepository;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: JezekRepository::class)]
class Jezek
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $jmeno = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $poznavacicislo = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $heslo = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $datum = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $email = null;
#[ORM\ManyToOne(inversedBy: 'jezeks')]
private ?Test1 $cena = null;
#[ORM\ManyToOne(inversedBy: 'jezeks')]
private ?Test2 $znak = null;
#[ORM\ManyToOne(inversedBy: 'jezeks')]
private ?Test3 $Vuz = null;
public function getId(): ?int
{
return $this->id;
}
public function getJmeno(): ?string
{
return $this->jmeno;
}
public function setJmeno(?string $jmeno): self
{
$this->jmeno = $jmeno;
return $this;
}
public function getPoznavacicislo(): ?string
{
return $this->poznavacicislo;
}
public function setPoznavacicislo(?string $poznavacicislo): self
{
$this->poznavacicislo = $poznavacicislo;
return $this;
}
public function getHeslo(): ?string
{
return $this->heslo;
}
public function setHeslo(?string $heslo): self
{
$this->heslo = $heslo;
return $this;
}
public function getDatum(): ?string
{
return $this->datum;
}
public function setDatum(?string $datum): self
{
$this->datum = $datum;
return $this;
}
public function getEmail(): ?string
{
return $this->email;
}
public function setEmail(?string $email): self
{
$this->email = $email;
return $this;
}
public function getCena(): ?Test1
{
return $this->cena;
}
public function setCena(?Test1 $cena): self
{
$this->cena = $cena;
return $this;
}
public function getZnak(): ?Test2
{
return $this->znak;
}
public function setZnak(?Test2 $znak): self
{
$this->znak = $znak;
return $this;
}
public function getVuz(): ?Test3
{
return $this->Vuz;
}
public function setVuz(?Test3 $Vuz): self
{
$this->Vuz = $Vuz;
return $this;
}
}
<?php
namespace App\Entity;
use App\Repository\Test1Repository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: Test1Repository::class)]
class Test1
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\OneToMany(mappedBy: 'cena', targetEntity: Jezek::class)]
private Collection $jezeks;
#[ORM\Column(length: 255, nullable: true)]
private ?string $test1 = null;
public function __construct()
{
$this->jezeks = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
/**
* @return Collection<int, Jezek>
*/
public function getJezeks(): Collection
{
return $this->jezeks;
}
public function addJezek(Jezek $jezek): self
{
if (!$this->jezeks->contains($jezek)) {
$this->jezeks->add($jezek);
$jezek->setCena($this);
}
return $this;
}
public function removeJezek(Jezek $jezek): self
{
if ($this->jezeks->removeElement($jezek)) {
// set the owning side to null (unless already changed)
if ($jezek->getCena() === $this) {
$jezek->setCena(null);
}
}
return $this;
}
public function getTest1(): ?string
{
return $this->test1;
}
public function setTest1(?string $test1): self
{
$this->test1 = $test1;
return $this;
}
}
<?php
namespace App\Entity;
use App\Repository\Test2Repository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: Test2Repository::class)]
class Test2
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\OneToMany(mappedBy: 'znak', targetEntity: Jezek::class)]
private Collection $jezeks;
#[ORM\Column(length: 255, nullable: true)]
private ?string $test2 = null;
public function __construct()
{
$this->jezeks = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
/**
* @return Collection<int, Jezek>
*/
public function getJezeks(): Collection
{
return $this->jezeks;
}
public function addJezek(Jezek $jezek): self
{
if (!$this->jezeks->contains($jezek)) {
$this->jezeks->add($jezek);
$jezek->setZnak($this);
}
return $this;
}
public function removeJezek(Jezek $jezek): self
{
if ($this->jezeks->removeElement($jezek)) {
// set the owning side to null (unless already changed)
if ($jezek->getZnak() === $this) {
$jezek->setZnak(null);
}
}
return $this;
}
public function getTest2(): ?string
{
return $this->test2;
}
public function setTest2(?string $test2): self
{
$this->test2 = $test2;
return $this;
}
}
<?php
namespace App\Entity;
use App\Repository\Test3Repository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: Test3Repository::class)]
class Test3
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\OneToMany(mappedBy: 'Vuz', targetEntity: Jezek::class)]
private Collection $jezeks;
#[ORM\Column(length: 255, nullable: true)]
private ?string $test3 = null;
public function __construct()
{
$this->jezeks = new ArrayCollection();
}
public function getId(): ?int
{
return $this->id;
}
/**
* @return Collection<int, Jezek>
*/
public function getJezeks(): Collection
{
return $this->jezeks;
}
public function addJezek(Jezek $jezek): self
{
if (!$this->jezeks->contains($jezek)) {
$this->jezeks->add($jezek);
$jezek->setVuz($this);
}
return $this;
}
public function removeJezek(Jezek $jezek): self
{
if ($this->jezeks->removeElement($jezek)) {
// set the owning side to null (unless already changed)
if ($jezek->getVuz() === $this) {
$jezek->setVuz(null);
}
}
return $this;
}
public function getTest3(): ?string
{
return $this->test3;
}
public function setTest3(?string $test3): self
{
$this->test3 = $test3;
return $this;
}
}
<?php
namespace App\Form;
use App\Entity\Jezek;
use App\Entity\Test1;
use App\Entity\Test2;
use App\Entity\Test3;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\EmailType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
use Symfony\Component\Form\Extension\Core\Type\RadioType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class JezekType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options): void
{
$builder
->add('cena' , EntityType::class, ["class" => Test1::class, 'choice_label' => 'test1'])
->add('znak' , EntityType::class, ["class" => Test2::class, 'choice_label' => 'test2'])
->add('Vuz' , EntityType::class, ["class" => Test3::class , 'choice_label' => 'test3'])
->add('jmeno' , TextType::class)
->add('poznavacicislo' , TextareaType::class)
->add('heslo' , PasswordType::class)
->add('datum' , RadioType::class)
->add('email' , EmailType::class)
->add('submit', SubmitType::class)
;
}
public function configureOptions(OptionsResolver $resolver): void
{
$resolver->setDefaults([
'data_class' => Jezek::class,
]);
}
}
<?php
namespace App\Repository;
use App\Entity\Jezek;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<Jezek>
*
* @method Jezek|null find($id, $lockMode = null, $lockVersion = null)
* @method Jezek|null findOneBy(array $criteria, array $orderBy = null)
* @method Jezek[] findAll()
* @method Jezek[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class JezekRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Jezek::class);
}
public function save(Jezek $entity, bool $flush = false): void
{
$this->getEntityManager()->persist($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
public function remove(Jezek $entity, bool $flush = false): void
{
$this->getEntityManager()->remove($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
// /**
// * @return Jezek[] Returns an array of Jezek objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('j')
// ->andWhere('j.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('j.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?Jezek
// {
// return $this->createQueryBuilder('j')
// ->andWhere('j.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}
<?php
namespace App\Repository;
use App\Entity\Test1;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<Test1>
*
* @method Test1|null find($id, $lockMode = null, $lockVersion = null)
* @method Test1|null findOneBy(array $criteria, array $orderBy = null)
* @method Test1[] findAll()
* @method Test1[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class Test1Repository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Test1::class);
}
public function save(Test1 $entity, bool $flush = false): void
{
$this->getEntityManager()->persist($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
public function remove(Test1 $entity, bool $flush = false): void
{
$this->getEntityManager()->remove($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
// /**
// * @return Test1[] Returns an array of Test1 objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('t')
// ->andWhere('t.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('t.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?Test1
// {
// return $this->createQueryBuilder('t')
// ->andWhere('t.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}
<?php
namespace App\Repository;
use App\Entity\Test2;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<Test2>
*
* @method Test2|null find($id, $lockMode = null, $lockVersion = null)
* @method Test2|null findOneBy(array $criteria, array $orderBy = null)
* @method Test2[] findAll()
* @method Test2[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class Test2Repository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Test2::class);
}
public function save(Test2 $entity, bool $flush = false): void
{
$this->getEntityManager()->persist($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
public function remove(Test2 $entity, bool $flush = false): void
{
$this->getEntityManager()->remove($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
// /**
// * @return Test2[] Returns an array of Test2 objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('t')
// ->andWhere('t.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('t.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?Test2
// {
// return $this->createQueryBuilder('t')
// ->andWhere('t.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}
<?php
namespace App\Repository;
use App\Entity\Test3;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<Test3>
*
* @method Test3|null find($id, $lockMode = null, $lockVersion = null)
* @method Test3|null findOneBy(array $criteria, array $orderBy = null)
* @method Test3[] findAll()
* @method Test3[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class Test3Repository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, Test3::class);
}
public function save(Test3 $entity, bool $flush = false): void
{
$this->getEntityManager()->persist($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
public function remove(Test3 $entity, bool $flush = false): void
{
$this->getEntityManager()->remove($entity);
if ($flush) {
$this->getEntityManager()->flush();
}
}
// /**
// * @return Test3[] Returns an array of Test3 objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('t')
// ->andWhere('t.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('t.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?Test3
// {
// return $this->createQueryBuilder('t')
// ->andWhere('t.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}
......@@ -7,6 +7,6 @@
<a href="{{ path ( "jezek_delete") }}">Delete</a>;
<br><br>
{{ $form() }}
{{ form(form) }}
......@@ -16,6 +16,6 @@ if (!\class_exists(App_KernelDevDebugContainer::class, false)) {
return new \Container62xrvTe\App_KernelDevDebugContainer([
'container.build_hash' => '62xrvTe',
'container.build_id' => '5fc48f86',
'container.build_time' => 1686830525,
'container.build_id' => '5e71d082',
'container.build_time' => 1686844770,
], __DIR__.\DIRECTORY_SEPARATOR.'Container62xrvTe');
No preview for this file type
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
<?php
namespace Container62xrvTe;
include_once \dirname(__DIR__, 4).'/vendor/doctrine/persistence/src/Persistence/ObjectManager.php';
include_once \dirname(__DIR__, 4).'/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManagerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php';
class EntityManagerGhost51e8656 extends \Doctrine\ORM\EntityManager implements \Symfony\Component\VarExporter\LazyObjectInterface
{
use \Symfony\Component\VarExporter\LazyGhostTrait;
private const LAZY_OBJECT_PROPERTY_SCOPES = [
"\0".parent::class."\0".'cache' => [parent::class, 'cache', null],
"\0".parent::class."\0".'closed' => [parent::class, 'closed', null],
"\0".parent::class."\0".'config' => [parent::class, 'config', null],
"\0".parent::class."\0".'conn' => [parent::class, 'conn', null],
"\0".parent::class."\0".'eventManager' => [parent::class, 'eventManager', null],
"\0".parent::class."\0".'expressionBuilder' => [parent::class, 'expressionBuilder', null],
"\0".parent::class."\0".'filterCollection' => [parent::class, 'filterCollection', null],
"\0".parent::class."\0".'metadataFactory' => [parent::class, 'metadataFactory', null],
"\0".parent::class."\0".'proxyFactory' => [parent::class, 'proxyFactory', null],
"\0".parent::class."\0".'repositoryFactory' => [parent::class, 'repositoryFactory', null],
"\0".parent::class."\0".'unitOfWork' => [parent::class, 'unitOfWork', null],
'cache' => [parent::class, 'cache', null],
'closed' => [parent::class, 'closed', null],
'config' => [parent::class, 'config', null],
'conn' => [parent::class, 'conn', null],
'eventManager' => [parent::class, 'eventManager', null],
'expressionBuilder' => [parent::class, 'expressionBuilder', null],
'filterCollection' => [parent::class, 'filterCollection', null],
'metadataFactory' => [parent::class, 'metadataFactory', null],
'proxyFactory' => [parent::class, 'proxyFactory', null],
'repositoryFactory' => [parent::class, 'repositoryFactory', null],
'unitOfWork' => [parent::class, 'unitOfWork', null],
];
}
// Help opcache.preload discover always-needed symbols
class_exists(\Symfony\Component\VarExporter\Internal\Hydrator::class);
class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectRegistry::class);
class_exists(\Symfony\Component\VarExporter\Internal\LazyObjectState::class);
if (!\class_exists('EntityManagerGhost51e8656', false)) {
\class_alias(__NAMESPACE__.'\\EntityManagerGhost51e8656', 'EntityManagerGhost51e8656', false);
}
<?php
namespace Container62xrvTe;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getAnnotations_CacheWarmerService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'annotations.cache_warmer' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\CacheWarmer\AnnotationsCacheWarmer
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/CacheWarmer/AbstractPhpFileCacheWarmer.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/CacheWarmer/AnnotationsCacheWarmer.php';
return $container->privates['annotations.cache_warmer'] = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\AnnotationsCacheWarmer(($container->privates['annotations.reader'] ?? $container->getAnnotations_ReaderService()), ($container->targetDir.''.'/annotations.php'), '#^Symfony\\\\(?:Component\\\\HttpKernel\\\\|Bundle\\\\FrameworkBundle\\\\Controller\\\\(?!.*Controller$))#', true);
}
}
<?php
namespace Container62xrvTe;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getBaseControllerService extends App_KernelDevDebugContainer
{
/**
* Gets the public 'App\Controller\BaseController' shared autowired service.
*
* @return \App\Controller\BaseController
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Controller/AbstractController.php';
include_once \dirname(__DIR__, 4).'/src/Controller/BaseController.php';
$container->services['App\\Controller\\BaseController'] = $instance = new \App\Controller\BaseController();
$instance->setContainer(($container->privates['.service_locator.CshazM0'] ?? $container->load('get_ServiceLocator_CshazM0Service'))->withContext('App\\Controller\\BaseController', $container));
return $instance;
}
}
<?php
namespace Container62xrvTe;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCachePoolClearer_CacheWarmerService extends App_KernelDevDebugContainer
{
/**
* Gets the private 'cache_pool_clearer.cache_warmer' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\CacheWarmer\CachePoolClearerCacheWarmer
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).'/vendor/symfony/http-kernel/CacheWarmer/CacheWarmerInterface.php';
include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/CacheWarmer/CachePoolClearerCacheWarmer.php';
return $container->privates['cache_pool_clearer.cache_warmer'] = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\CachePoolClearerCacheWarmer(($container->services['cache.system_clearer'] ?? $container->load('getCache_SystemClearerService')), [0 => 'cache.validator', 1 => 'cache.serializer']);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment