This commit is contained in:
Marek Lenczewski
2026-03-30 23:08:24 +02:00
parent 2f96caaa23
commit 7b58e68ecb
31 changed files with 637 additions and 431 deletions

View File

@@ -256,6 +256,7 @@
<tag name="container.service_subscriber"/>
<argument type="service" id="App\Repository\TaskSchemaRepository"/>
<argument type="service" id="App\Service\TaskSchemaManager"/>
<argument type="service" id="App\Service\TaskManager"/>
<argument type="service" id="App\Service\TaskViewBuilder"/>
<call method="setContainer">
<argument type="service" id=".service_locator.TJNRSaV.App\Controller\Api\TaskSchemaController"/>
@@ -303,12 +304,6 @@
<service id="App\Enum\TaskStatus" class="App\Enum\TaskStatus" autowire="true" autoconfigure="true">
<tag name="container.excluded" source="because it's an enum"/>
</service>
<service id="App\EventListener\ExceptionListener" class="App\EventListener\ExceptionListener" autowire="true" autoconfigure="true">
<tag name="kernel.event_listener" event="kernel.exception" method="" priority="0" dispatcher=""/>
</service>
<service id="App\Exception\ValidationException" class="App\Exception\ValidationException" autowire="true" autoconfigure="true">
<tag name="container.error" message="Cannot autowire service &quot;App\Exception\ValidationException&quot;: argument &quot;$violations&quot; of method &quot;__construct()&quot; references interface &quot;Symfony\Component\Validator\ConstraintViolationListInterface&quot; but no such service exists. Did you create an instantiable class that implements this interface?"/>
</service>
<service id="App\Repository\CategoryRepository" class="App\Repository\CategoryRepository" autowire="true" autoconfigure="true">
<tag name="doctrine.repository_service"/>
<argument type="service" id="doctrine"/>
@@ -323,7 +318,6 @@
</service>
<service id="App\Service\CategoryManager" class="App\Service\CategoryManager" autowire="true" autoconfigure="true">
<argument type="service" id="doctrine.orm.default_entity_manager"/>
<argument type="service" id="validator"/>
</service>
<service id="App\Service\DeadlineCalculator" class="App\Service\DeadlineCalculator" autowire="true" autoconfigure="true"/>
<service id="App\Service\TaskGenerator" class="App\Service\TaskGenerator" autowire="true" autoconfigure="true">
@@ -335,13 +329,12 @@
<service id="App\Service\TaskManager" class="App\Service\TaskManager" autowire="true" autoconfigure="true">
<argument type="service" id="doctrine.orm.default_entity_manager"/>
<argument type="service" id="App\Repository\CategoryRepository"/>
<argument type="service" id="App\Repository\TaskRepository"/>
<argument type="service" id="App\Service\TaskSerializer"/>
</service>
<service id="App\Service\TaskSchemaManager" class="App\Service\TaskSchemaManager" autowire="true" autoconfigure="true">
<argument type="service" id="doctrine.orm.default_entity_manager"/>
<argument type="service" id="App\Repository\CategoryRepository"/>
<argument type="service" id="App\Repository\TaskRepository"/>
<argument type="service" id="validator"/>
<argument type="service" id="App\Service\TaskSynchronizer"/>
</service>
<service id="App\Service\TaskSerializer" class="App\Service\TaskSerializer" autowire="true" autoconfigure="true"/>
@@ -383,7 +376,7 @@
</service>
<service id="argument_resolver.service" class="Symfony\Component\HttpKernel\Controller\ArgumentResolver\ServiceValueResolver">
<tag name="Symfony\Component\HttpKernel\Controller\ArgumentResolver\ServiceValueResolver" priority="-50">controller.argument_value_resolver</tag>
<argument type="service" id=".service_locator.nyZ3KqI"/>
<argument type="service" id=".service_locator.LiUCm3n"/>
</service>
<service id="argument_resolver.default" class="Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver">
<tag name="Symfony\Component\HttpKernel\Controller\ArgumentResolver\DefaultValueResolver" priority="-100">controller.argument_value_resolver</tag>
@@ -1281,14 +1274,6 @@
<argument type="service" id="logger" on-invalid="null"/>
<argument type="service" id="request_stack" on-invalid="null"/>
<argument>null</argument>
<call method="addListener">
<argument>kernel.exception</argument>
<argument type="collection">
<argument type="service_closure" id="App\EventListener\ExceptionListener"/>
<argument>onKernelException</argument>
</argument>
<argument>0</argument>
</call>
<call method="addListener">
<argument>kernel.request</argument>
<argument type="collection">
@@ -1567,7 +1552,7 @@
</service>
<service id="argument_resolver.not_tagged_controller" class="Symfony\Component\HttpKernel\Controller\ArgumentResolver\NotTaggedControllerValueResolver">
<tag name="controller.argument_value_resolver" priority="-200"/>
<argument type="service" id=".service_locator.nyZ3KqI"/>
<argument type="service" id=".service_locator.LiUCm3n"/>
</service>
<service id="routing.resolver" class="Symfony\Component\Config\Loader\LoaderResolver">
<call method="addLoader">
@@ -3419,8 +3404,6 @@
<service id=".abstract.instanceof.App\Enum\TaskSchemaType" class="App\Enum\TaskSchemaType" autowire="true" autoconfigure="true" abstract="true"/>
<service id=".instanceof.UnitEnum.0.App\Enum\TaskStatus" class="App\Enum\TaskStatus" autowire="true" abstract="true"/>
<service id=".abstract.instanceof.App\Enum\TaskStatus" class="App\Enum\TaskStatus" autowire="true" autoconfigure="true" abstract="true"/>
<service id=".instanceof.App\EventListener\ExceptionListener.0.App\EventListener\ExceptionListener" class="App\EventListener\ExceptionListener" autowire="true" abstract="true"/>
<service id=".abstract.instanceof.App\EventListener\ExceptionListener" class="App\EventListener\ExceptionListener" autowire="true" autoconfigure="true" abstract="true"/>
<service id=".instanceof.Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryInterface.0.App\Repository\CategoryRepository" class="App\Repository\CategoryRepository" autowire="true" abstract="true"/>
<service id=".abstract.instanceof.App\Repository\CategoryRepository" class="App\Repository\CategoryRepository" autowire="true" autoconfigure="true" abstract="true"/>
<service id=".instanceof.Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepositoryInterface.0.App\Repository\TaskRepository" class="App\Repository\TaskRepository" autowire="true" abstract="true"/>
@@ -3875,11 +3858,30 @@
<argument type="service" id="service_container"/>
<factory service=".service_locator.Cm49tF9" method="withContext"/>
</service>
<service id=".service_locator.Cm49tF9.App\Controller\Api\CategoryController::update()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<service id=".service_locator.KtG.01U" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator"/>
<argument type="collection">
<argument key="dto" type="service_closure" id="App\DTO\Request\CreateCategoryRequest"/>
</argument>
</service>
<service id=".service_locator.KtG.01U.App\Controller\Api\CategoryController::create()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\CategoryController::create()"/>
<argument>App\Controller\Api\CategoryController::create()</argument>
<argument type="service" id="service_container"/>
<factory service=".service_locator.KtG.01U" method="withContext"/>
</service>
<service id=".service_locator.C59M2XG" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator"/>
<argument type="collection">
<argument key="dto" type="service_closure" id="App\DTO\Request\UpdateCategoryRequest"/>
<argument key="category" type="service_closure" id=".errored..service_locator.C59M2XG.App\Entity\Category"/>
</argument>
</service>
<service id=".service_locator.C59M2XG.App\Controller\Api\CategoryController::update()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\CategoryController::update()"/>
<argument>App\Controller\Api\CategoryController::update()</argument>
<argument type="service" id="service_container"/>
<factory service=".service_locator.Cm49tF9" method="withContext"/>
<factory service=".service_locator.C59M2XG" method="withContext"/>
</service>
<service id=".service_locator.Cm49tF9.App\Controller\Api\CategoryController::delete()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\CategoryController::delete()"/>
@@ -3899,11 +3901,18 @@
<argument type="service" id="service_container"/>
<factory service=".service_locator._xkkbYm" method="withContext"/>
</service>
<service id=".service_locator._xkkbYm.App\Controller\Api\TaskController::update()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<service id=".service_locator._XrPYo." class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator"/>
<argument type="collection">
<argument key="dto" type="service_closure" id="App\DTO\Request\UpdateTaskRequest"/>
<argument key="task" type="service_closure" id=".errored..service_locator._XrPYo..App\Entity\Task"/>
</argument>
</service>
<service id=".service_locator._XrPYo..App\Controller\Api\TaskController::update()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\TaskController::update()"/>
<argument>App\Controller\Api\TaskController::update()</argument>
<argument type="service" id="service_container"/>
<factory service=".service_locator._xkkbYm" method="withContext"/>
<factory service=".service_locator._XrPYo." method="withContext"/>
</service>
<service id=".service_locator._xkkbYm.App\Controller\Api\TaskController::delete()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\TaskController::delete()"/>
@@ -3923,11 +3932,30 @@
<argument type="service" id="service_container"/>
<factory service=".service_locator.R5gwLrS" method="withContext"/>
</service>
<service id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::update()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<service id=".service_locator.tfbRPsC" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator"/>
<argument type="collection">
<argument key="dto" type="service_closure" id="App\DTO\Request\CreateSchemaRequest"/>
</argument>
</service>
<service id=".service_locator.tfbRPsC.App\Controller\Api\TaskSchemaController::create()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\TaskSchemaController::create()"/>
<argument>App\Controller\Api\TaskSchemaController::create()</argument>
<argument type="service" id="service_container"/>
<factory service=".service_locator.tfbRPsC" method="withContext"/>
</service>
<service id=".service_locator.bAGXt8j" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator"/>
<argument type="collection">
<argument key="dto" type="service_closure" id="App\DTO\Request\UpdateSchemaRequest"/>
<argument key="schema" type="service_closure" id=".errored..service_locator.bAGXt8j.App\Entity\TaskSchema"/>
</argument>
</service>
<service id=".service_locator.bAGXt8j.App\Controller\Api\TaskSchemaController::update()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\TaskSchemaController::update()"/>
<argument>App\Controller\Api\TaskSchemaController::update()</argument>
<argument type="service" id="service_container"/>
<factory service=".service_locator.R5gwLrS" method="withContext"/>
<factory service=".service_locator.bAGXt8j" method="withContext"/>
</service>
<service id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::delete()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\TaskSchemaController::delete()"/>
@@ -3935,13 +3963,20 @@
<argument type="service" id="service_container"/>
<factory service=".service_locator.R5gwLrS" method="withContext"/>
</service>
<service id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::toggle()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<service id=".service_locator.CXMQIWj" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator"/>
<argument type="collection">
<argument key="schema" type="service_closure" id=".errored..service_locator.CXMQIWj.App\Entity\TaskSchema"/>
<argument key="dto" type="service_closure" id="App\DTO\Request\ToggleRequest"/>
</argument>
</service>
<service id=".service_locator.CXMQIWj.App\Controller\Api\TaskSchemaController::toggle()" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator_context" id="App\Controller\Api\TaskSchemaController::toggle()"/>
<argument>App\Controller\Api\TaskSchemaController::toggle()</argument>
<argument type="service" id="service_container"/>
<factory service=".service_locator.R5gwLrS" method="withContext"/>
<factory service=".service_locator.CXMQIWj" method="withContext"/>
</service>
<service id=".service_locator.nyZ3KqI" class="Symfony\Component\DependencyInjection\ServiceLocator">
<service id=".service_locator.LiUCm3n" class="Symfony\Component\DependencyInjection\ServiceLocator">
<tag name="container.service_locator"/>
<argument type="collection">
<argument key="kernel::registerContainerConfiguration" type="service_closure" id=".service_locator.1vYpZ1B.kernel::registerContainerConfiguration()"/>
@@ -3949,27 +3984,31 @@
<argument key="kernel::loadRoutes" type="service_closure" id=".service_locator.1vYpZ1B.kernel::loadRoutes()"/>
<argument key="App\Kernel::loadRoutes" type="service_closure" id=".service_locator.1vYpZ1B.kernel::loadRoutes()"/>
<argument key="App\Controller\Api\CategoryController::show" type="service_closure" id=".service_locator.Cm49tF9.App\Controller\Api\CategoryController::show()"/>
<argument key="App\Controller\Api\CategoryController::update" type="service_closure" id=".service_locator.Cm49tF9.App\Controller\Api\CategoryController::update()"/>
<argument key="App\Controller\Api\CategoryController::create" type="service_closure" id=".service_locator.KtG.01U.App\Controller\Api\CategoryController::create()"/>
<argument key="App\Controller\Api\CategoryController::update" type="service_closure" id=".service_locator.C59M2XG.App\Controller\Api\CategoryController::update()"/>
<argument key="App\Controller\Api\CategoryController::delete" type="service_closure" id=".service_locator.Cm49tF9.App\Controller\Api\CategoryController::delete()"/>
<argument key="App\Controller\Api\TaskController::show" type="service_closure" id=".service_locator._xkkbYm.App\Controller\Api\TaskController::show()"/>
<argument key="App\Controller\Api\TaskController::update" type="service_closure" id=".service_locator._xkkbYm.App\Controller\Api\TaskController::update()"/>
<argument key="App\Controller\Api\TaskController::update" type="service_closure" id=".service_locator._XrPYo..App\Controller\Api\TaskController::update()"/>
<argument key="App\Controller\Api\TaskController::delete" type="service_closure" id=".service_locator._xkkbYm.App\Controller\Api\TaskController::delete()"/>
<argument key="App\Controller\Api\TaskSchemaController::show" type="service_closure" id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::show()"/>
<argument key="App\Controller\Api\TaskSchemaController::update" type="service_closure" id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::update()"/>
<argument key="App\Controller\Api\TaskSchemaController::create" type="service_closure" id=".service_locator.tfbRPsC.App\Controller\Api\TaskSchemaController::create()"/>
<argument key="App\Controller\Api\TaskSchemaController::update" type="service_closure" id=".service_locator.bAGXt8j.App\Controller\Api\TaskSchemaController::update()"/>
<argument key="App\Controller\Api\TaskSchemaController::delete" type="service_closure" id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::delete()"/>
<argument key="App\Controller\Api\TaskSchemaController::toggle" type="service_closure" id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::toggle()"/>
<argument key="App\Controller\Api\TaskSchemaController::toggle" type="service_closure" id=".service_locator.CXMQIWj.App\Controller\Api\TaskSchemaController::toggle()"/>
<argument key="kernel:registerContainerConfiguration" type="service_closure" id=".service_locator.1vYpZ1B.kernel::registerContainerConfiguration()"/>
<argument key="kernel:loadRoutes" type="service_closure" id=".service_locator.1vYpZ1B.kernel::loadRoutes()"/>
<argument key="App\Controller\Api\CategoryController:show" type="service_closure" id=".service_locator.Cm49tF9.App\Controller\Api\CategoryController::show()"/>
<argument key="App\Controller\Api\CategoryController:update" type="service_closure" id=".service_locator.Cm49tF9.App\Controller\Api\CategoryController::update()"/>
<argument key="App\Controller\Api\CategoryController:create" type="service_closure" id=".service_locator.KtG.01U.App\Controller\Api\CategoryController::create()"/>
<argument key="App\Controller\Api\CategoryController:update" type="service_closure" id=".service_locator.C59M2XG.App\Controller\Api\CategoryController::update()"/>
<argument key="App\Controller\Api\CategoryController:delete" type="service_closure" id=".service_locator.Cm49tF9.App\Controller\Api\CategoryController::delete()"/>
<argument key="App\Controller\Api\TaskController:show" type="service_closure" id=".service_locator._xkkbYm.App\Controller\Api\TaskController::show()"/>
<argument key="App\Controller\Api\TaskController:update" type="service_closure" id=".service_locator._xkkbYm.App\Controller\Api\TaskController::update()"/>
<argument key="App\Controller\Api\TaskController:update" type="service_closure" id=".service_locator._XrPYo..App\Controller\Api\TaskController::update()"/>
<argument key="App\Controller\Api\TaskController:delete" type="service_closure" id=".service_locator._xkkbYm.App\Controller\Api\TaskController::delete()"/>
<argument key="App\Controller\Api\TaskSchemaController:show" type="service_closure" id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::show()"/>
<argument key="App\Controller\Api\TaskSchemaController:update" type="service_closure" id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::update()"/>
<argument key="App\Controller\Api\TaskSchemaController:create" type="service_closure" id=".service_locator.tfbRPsC.App\Controller\Api\TaskSchemaController::create()"/>
<argument key="App\Controller\Api\TaskSchemaController:update" type="service_closure" id=".service_locator.bAGXt8j.App\Controller\Api\TaskSchemaController::update()"/>
<argument key="App\Controller\Api\TaskSchemaController:delete" type="service_closure" id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::delete()"/>
<argument key="App\Controller\Api\TaskSchemaController:toggle" type="service_closure" id=".service_locator.R5gwLrS.App\Controller\Api\TaskSchemaController::toggle()"/>
<argument key="App\Controller\Api\TaskSchemaController:toggle" type="service_closure" id=".service_locator.CXMQIWj.App\Controller\Api\TaskSchemaController::toggle()"/>
</argument>
</service>
<service id=".service_locator.ezu51To" class="Symfony\Component\DependencyInjection\ServiceLocator">
@@ -4266,12 +4305,24 @@
<service id=".errored..service_locator.Cm49tF9.App\Entity\Category" class="App\Entity\Category">
<tag name="container.error" message="Cannot autowire service &quot;.service_locator.Cm49tF9&quot;: it needs an instance of &quot;App\Entity\Category&quot; but this type has been excluded because it's a Doctrine entity."/>
</service>
<service id=".errored..service_locator.C59M2XG.App\Entity\Category" class="App\Entity\Category">
<tag name="container.error" message="Cannot autowire service &quot;.service_locator.C59M2XG&quot;: it needs an instance of &quot;App\Entity\Category&quot; but this type has been excluded because it's a Doctrine entity."/>
</service>
<service id=".errored..service_locator._xkkbYm.App\Entity\Task" class="App\Entity\Task">
<tag name="container.error" message="Cannot autowire service &quot;.service_locator._xkkbYm&quot;: it needs an instance of &quot;App\Entity\Task&quot; but this type has been excluded because it's a Doctrine entity."/>
</service>
<service id=".errored..service_locator._XrPYo..App\Entity\Task" class="App\Entity\Task">
<tag name="container.error" message="Cannot autowire service &quot;.service_locator._XrPYo.&quot;: it needs an instance of &quot;App\Entity\Task&quot; but this type has been excluded because it's a Doctrine entity."/>
</service>
<service id=".errored..service_locator.R5gwLrS.App\Entity\TaskSchema" class="App\Entity\TaskSchema">
<tag name="container.error" message="Cannot autowire service &quot;.service_locator.R5gwLrS&quot;: it needs an instance of &quot;App\Entity\TaskSchema&quot; but this type has been excluded because it's a Doctrine entity."/>
</service>
<service id=".errored..service_locator.bAGXt8j.App\Entity\TaskSchema" class="App\Entity\TaskSchema">
<tag name="container.error" message="Cannot autowire service &quot;.service_locator.bAGXt8j&quot;: it needs an instance of &quot;App\Entity\TaskSchema&quot; but this type has been excluded because it's a Doctrine entity."/>
</service>
<service id=".errored..service_locator.CXMQIWj.App\Entity\TaskSchema" class="App\Entity\TaskSchema">
<tag name="container.error" message="Cannot autowire service &quot;.service_locator.CXMQIWj&quot;: it needs an instance of &quot;App\Entity\TaskSchema&quot; but this type has been excluded because it's a Doctrine entity."/>
</service>
<service id=".console.command.about.lazy" class="Symfony\Component\Console\Command\LazyCommand">
<argument>about</argument>
<argument type="collection"/>
@@ -5031,7 +5082,7 @@
<service id="doctrine.orm.default_entity_manager.event_manager" alias="doctrine.dbal.default_connection.event_manager"/>
<service id="doctrine.migrations.metadata_storage" alias="doctrine.migrations.storage.table_storage"/>
<service id="container.env_var_processors_locator" alias=".service_locator.ryAvHi4" public="true"/>
<service id="argument_resolver.controller_locator" alias=".service_locator.nyZ3KqI"/>
<service id="argument_resolver.controller_locator" alias=".service_locator.LiUCm3n"/>
<service id="doctrine.id_generator_locator" alias=".service_locator.W55Po6X"/>
<service id="Psr\Log\LoggerInterface" alias="logger"/>
<service id=".service_locator.n0.zoXR" alias=".service_locator.ezu51To"/>
@@ -5041,8 +5092,14 @@
<service id="doctrine.orm.default_metadata_driver" alias=".doctrine.orm.default_metadata_driver"/>
<service id=".service_locator.c0wzfI4" alias=".service_locator.1vYpZ1B"/>
<service id=".service_locator.TK_EZHX" alias=".service_locator.Cm49tF9"/>
<service id=".service_locator.oqR54WJ" alias=".service_locator.KtG.01U"/>
<service id=".service_locator.PMEz_6r" alias=".service_locator.C59M2XG"/>
<service id=".service_locator..TdxQYe" alias=".service_locator._xkkbYm"/>
<service id=".service_locator.IJp4oV0" alias=".service_locator._XrPYo."/>
<service id=".service_locator.GLW8.9C" alias=".service_locator.R5gwLrS"/>
<service id=".service_locator.I6TWVKY" alias=".service_locator.tfbRPsC"/>
<service id=".service_locator.JV7jUAi" alias=".service_locator.bAGXt8j"/>
<service id=".service_locator.wKUiJ9I" alias=".service_locator.CXMQIWj"/>
<service id=".service_locator.SPA6NDT" alias=".service_locator.TJNRSaV"/>
</services>
</container>