Compare commits

..

60 Commits

Author SHA1 Message Date
dambo c37aba4664 Merge Conflict
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-22 00:29:06 +02:00
dambo acfc4eccde Prueba 2024-08-22 00:24:30 +02:00
dambo 8e830192c5 Merge pull request 'Add entity name to table' (#1) from daniel into dev
dyb-tech.com/LaLiga-BackEnd/pipeline/head Something is wrong with the build of this commit
Reviewed-on: http://casa.dyb-tech.com:81/dyb-tech.com/LaLiga-BackEnd/pulls/1
2024-08-22 00:22:23 +02:00
dambo 2f3b397384 Add entity name to table
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
dyb-tech.com/LaLiga-BackEnd/pipeline/pr-dev Build started...
2024-08-21 23:31:33 +02:00
earvin 8ae704284a Updated, just a pull.
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-21 23:28:52 +02:00
dambo bfd709afdf Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-11 03:07:31 +02:00
dambo eb5af013f0 Get user relationships
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-11 03:01:22 +02:00
dambo 44a0214187 Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-11 02:45:31 +02:00
dambo 3837744b03 Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-11 02:37:01 +02:00
dambo 5c4e088c0b Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-11 02:29:03 +02:00
dambo e2a4c6f3bd Refactor
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-11 02:21:42 +02:00
dambo 85e8efbed9 Fix last commit
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-11 01:39:34 +02:00
dambo b057ed2d1a Add db connection test
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-08-11 01:34:38 +02:00
dambo 755644abd9 Fix create season
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 02:21:31 +02:00
dambo 442e3e3248 Add teams to response
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 02:04:46 +02:00
dambo 58eb6141a8 Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 01:56:06 +02:00
dambo 11fd3953ca Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 01:54:50 +02:00
dambo 6fd4105d69 Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 01:52:23 +02:00
dambo b3ae18d6d3 Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 01:51:19 +02:00
dambo 327acd3c13 Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 01:47:46 +02:00
dambo cf9ea83f50 Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 01:10:59 +02:00
dambo af3a0167e4 Make points per draw optional
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 01:08:32 +02:00
dambo 25d3d7c12c Add day to dateStart format
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 01:02:21 +02:00
dambo 58076dca4c Add league name to season response array
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 00:44:03 +02:00
dambo 8932feca8b Fix get season teams
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 00:36:59 +02:00
dambo 4819033a26 Add Get Season By ID
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-25 00:17:37 +02:00
Daniel Guzman b1a3b47aaf Fix create season issues, add number of teams to season response array
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-24 23:43:57 +02:00
earvin 646e63a890 Fix htaccess
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-21 03:03:16 +02:00
earvin 9f21f543b6 Fix DB connection string
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-21 03:02:35 +02:00
Daniel Guzman efe08af5cc Get leagues, teams. Create teams.
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-21 00:12:19 +02:00
Daniel Guzman 7bfb300a59 Get All Leagues, Get All Teams, Add Teams
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-21 00:09:12 +02:00
Daniel Guzman 4cdc3c38ef Fix merge conflict
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-07-14 11:51:32 +02:00
Daniel Guzman 3e6e4ea6e5 Add games per week to season object and preferred day of week for team object 2024-07-14 11:47:21 +02:00
earvin 605147dd57 FIX
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
FIX
2024-06-19 15:45:11 +02:00
earvin 3e1b5d82c4 Fix DB connection string
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
Fix DB connection string, please double check.
2024-06-19 15:41:08 +02:00
Daniel Guzman c72fd1dfc9 Ignore var and vendor directory
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-16 02:37:22 +02:00
Daniel Guzman 887f1b47a5 Include relationships in login response
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-16 02:35:44 +02:00
Daniel Guzman 4eca9ab832 Proxy generate false
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-09 02:20:29 +02:00
Daniel Guzman 80baa4344b Change DB URL
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-09 02:16:05 +02:00
Daniel Guzman e28f73bac4 Change proxy parameter in production
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-09 01:58:54 +02:00
Daniel Guzman 8d6e257e86 Test delete cache
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-09 01:15:31 +02:00
Daniel Guzman cb1e843974 Remove cache dir
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-09 01:08:20 +02:00
Daniel Guzman 699e72c2c5 Fix DB URL
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-09 01:01:59 +02:00
Daniel Guzman 9614a201bb Fix
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-09 00:58:29 +02:00
Daniel Guzman 9b0630133c Fix parameter order 2024-06-08 23:49:53 +02:00
Daniel Guzman 6b85ad784c Fix route
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-08 23:37:00 +02:00
Daniel Guzman 017caf49b0 Get all facilities
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-08 23:35:35 +02:00
Daniel Guzman 08a43cb760 Create Facility
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-08 23:00:17 +02:00
Daniel Guzman 33980dbb46 Fix authorization
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-03 00:22:36 +02:00
Daniel Guzman 5758e7af43 Set active to false by default when creating season
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-03 00:01:43 +02:00
Daniel Guzman fa24f75fea Update create season response
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-02 23:52:57 +02:00
Daniel Guzman fbb57e80de Fix date type
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-02 22:45:25 +02:00
Daniel Guzman 65b02bc11e Move points per match to season entity
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-02 22:41:59 +02:00
Daniel Guzman 5ee51cf82b Add season count to response of getAllLeagues
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-02 12:02:34 +02:00
Daniel Guzman 1d7c003d84 Change role names
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-02 11:58:47 +02:00
Daniel Guzman a958119534 Change response format of league object
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-06-02 11:56:15 +02:00
Daniel Guzman d36cee95e6 fix role assign in league creation
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-05-26 12:37:10 +02:00
Daniel Guzman 93df0e8ffd improve validation
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-05-26 12:33:13 +02:00
Daniel Guzman fe3ebf9dc5 add change to jenkins file
dyb-tech.com/LaLiga-BackEnd/pipeline/head This commit looks good
2024-05-26 12:02:21 +02:00
Daniel Guzman 15990da3d0 Improve custom role table, add isPublic property to League table 2024-05-26 11:59:18 +02:00
830 changed files with 1440 additions and 41736 deletions
+2
View File
@@ -0,0 +1,2 @@
vendor/
var/
+8
View File
@@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
+94
View File
@@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="DMD\LaLigaApi\" />
<sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" packagePrefix="DMD\LaLigaApi\Tests\" />
<excludeFolder url="file://$MODULE_DIR$/vendor/composer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/collections" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/common" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/dbal" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/deprecations" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/doctrine-migrations-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/event-manager" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/inflector" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/instantiator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/lexer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/migrations" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/orm" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/persistence" />
<excludeFolder url="file://$MODULE_DIR$/vendor/doctrine/sql-formatter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/egulias/email-validator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/lcobucci/clock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/lcobucci/jwt" />
<excludeFolder url="file://$MODULE_DIR$/vendor/lexik/jwt-authentication-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/namshi/jose" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nelmio/api-doc-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nelmio/cors-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/nikic/php-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-common" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/reflection-docblock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpdocumentor/type-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/phpstan/phpdoc-parser" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/clock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/container" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/event-dispatcher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/psr/log" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/cache" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/cache-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/clock" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/config" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/console" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dependency-injection" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/deprecation-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/doctrine-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/dotenv" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/error-handler" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/event-dispatcher-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/filesystem" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/finder" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/flex" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/framework-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-foundation" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/http-kernel" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mailer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/maker-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/mime" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/options-resolver" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/password-hasher" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-grapheme" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-idn" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-intl-normalizer" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-mbstring" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/polyfill-php83" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/process" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/property-access" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/property-info" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/routing" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/runtime" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security-core" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security-csrf" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/security-http" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/service-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/stopwatch" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/string" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/translation-contracts" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/twig-bridge" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/twig-bundle" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/validator" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/var-dumper" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/var-exporter" />
<excludeFolder url="file://$MODULE_DIR$/vendor/symfony/yaml" />
<excludeFolder url="file://$MODULE_DIR$/vendor/twig/twig" />
<excludeFolder url="file://$MODULE_DIR$/vendor/webmozart/assert" />
<excludeFolder url="file://$MODULE_DIR$/vendor/zircote/swagger-php" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
+10
View File
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MaterialThemeProjectNewConfig">
<option name="metadata">
<MTProjectMetadataState>
<option name="userId" value="-370ff73f:190e707a569:-7ffa" />
</MTProjectMetadataState>
</option>
</component>
</project>
+8
View File
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/LaLiga-BackEnd.iml" filepath="$PROJECT_DIR$/.idea/LaLiga-BackEnd.iml" />
</modules>
</component>
</project>
Generated
+107
View File
@@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MessDetectorOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCSFixerOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCodeSnifferOptionsConfiguration">
<option name="highlightLevel" value="WARNING" />
<option name="transferred" value="true" />
</component>
<component name="PhpIncludePathManager">
<include_path>
<path value="$PROJECT_DIR$/vendor/composer" />
<path value="$PROJECT_DIR$/vendor/doctrine/cache" />
<path value="$PROJECT_DIR$/vendor/doctrine/collections" />
<path value="$PROJECT_DIR$/vendor/doctrine/common" />
<path value="$PROJECT_DIR$/vendor/doctrine/dbal" />
<path value="$PROJECT_DIR$/vendor/doctrine/deprecations" />
<path value="$PROJECT_DIR$/vendor/doctrine/doctrine-bundle" />
<path value="$PROJECT_DIR$/vendor/doctrine/doctrine-migrations-bundle" />
<path value="$PROJECT_DIR$/vendor/doctrine/event-manager" />
<path value="$PROJECT_DIR$/vendor/doctrine/inflector" />
<path value="$PROJECT_DIR$/vendor/doctrine/instantiator" />
<path value="$PROJECT_DIR$/vendor/doctrine/lexer" />
<path value="$PROJECT_DIR$/vendor/doctrine/migrations" />
<path value="$PROJECT_DIR$/vendor/doctrine/orm" />
<path value="$PROJECT_DIR$/vendor/doctrine/persistence" />
<path value="$PROJECT_DIR$/vendor/doctrine/sql-formatter" />
<path value="$PROJECT_DIR$/vendor/egulias/email-validator" />
<path value="$PROJECT_DIR$/vendor/lcobucci/clock" />
<path value="$PROJECT_DIR$/vendor/lcobucci/jwt" />
<path value="$PROJECT_DIR$/vendor/lexik/jwt-authentication-bundle" />
<path value="$PROJECT_DIR$/vendor/namshi/jose" />
<path value="$PROJECT_DIR$/vendor/nelmio/api-doc-bundle" />
<path value="$PROJECT_DIR$/vendor/nelmio/cors-bundle" />
<path value="$PROJECT_DIR$/vendor/nikic/php-parser" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-common" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/reflection-docblock" />
<path value="$PROJECT_DIR$/vendor/phpdocumentor/type-resolver" />
<path value="$PROJECT_DIR$/vendor/phpstan/phpdoc-parser" />
<path value="$PROJECT_DIR$/vendor/psr/cache" />
<path value="$PROJECT_DIR$/vendor/psr/clock" />
<path value="$PROJECT_DIR$/vendor/psr/container" />
<path value="$PROJECT_DIR$/vendor/psr/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/psr/log" />
<path value="$PROJECT_DIR$/vendor/symfony/cache" />
<path value="$PROJECT_DIR$/vendor/symfony/cache-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/clock" />
<path value="$PROJECT_DIR$/vendor/symfony/config" />
<path value="$PROJECT_DIR$/vendor/symfony/console" />
<path value="$PROJECT_DIR$/vendor/symfony/dependency-injection" />
<path value="$PROJECT_DIR$/vendor/symfony/deprecation-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/doctrine-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/dotenv" />
<path value="$PROJECT_DIR$/vendor/symfony/error-handler" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher" />
<path value="$PROJECT_DIR$/vendor/symfony/event-dispatcher-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/filesystem" />
<path value="$PROJECT_DIR$/vendor/symfony/finder" />
<path value="$PROJECT_DIR$/vendor/symfony/flex" />
<path value="$PROJECT_DIR$/vendor/symfony/framework-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/http-foundation" />
<path value="$PROJECT_DIR$/vendor/symfony/http-kernel" />
<path value="$PROJECT_DIR$/vendor/symfony/mailer" />
<path value="$PROJECT_DIR$/vendor/symfony/maker-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/mime" />
<path value="$PROJECT_DIR$/vendor/symfony/options-resolver" />
<path value="$PROJECT_DIR$/vendor/symfony/password-hasher" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-grapheme" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-idn" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-intl-normalizer" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-mbstring" />
<path value="$PROJECT_DIR$/vendor/symfony/polyfill-php83" />
<path value="$PROJECT_DIR$/vendor/symfony/process" />
<path value="$PROJECT_DIR$/vendor/symfony/property-access" />
<path value="$PROJECT_DIR$/vendor/symfony/property-info" />
<path value="$PROJECT_DIR$/vendor/symfony/routing" />
<path value="$PROJECT_DIR$/vendor/symfony/runtime" />
<path value="$PROJECT_DIR$/vendor/symfony/security-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/security-core" />
<path value="$PROJECT_DIR$/vendor/symfony/security-csrf" />
<path value="$PROJECT_DIR$/vendor/symfony/security-http" />
<path value="$PROJECT_DIR$/vendor/symfony/service-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/stopwatch" />
<path value="$PROJECT_DIR$/vendor/symfony/string" />
<path value="$PROJECT_DIR$/vendor/symfony/translation-contracts" />
<path value="$PROJECT_DIR$/vendor/symfony/twig-bridge" />
<path value="$PROJECT_DIR$/vendor/symfony/twig-bundle" />
<path value="$PROJECT_DIR$/vendor/symfony/validator" />
<path value="$PROJECT_DIR$/vendor/symfony/var-dumper" />
<path value="$PROJECT_DIR$/vendor/symfony/var-exporter" />
<path value="$PROJECT_DIR$/vendor/symfony/yaml" />
<path value="$PROJECT_DIR$/vendor/twig/twig" />
<path value="$PROJECT_DIR$/vendor/webmozart/assert" />
<path value="$PROJECT_DIR$/vendor/zircote/swagger-php" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="8.1" />
<component name="PhpStanOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PsalmOptionsConfiguration">
<option name="transferred" value="true" />
</component>
</project>
Generated
+6
View File
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
+1 -1
View File
@@ -2,4 +2,4 @@
La Liga BackEnd Repository
Initial commit.
Prueba borrado de cache..
+2 -1
View File
@@ -21,7 +21,8 @@
"symfony/runtime": "6.3.*",
"symfony/twig-bundle": "6.3.*",
"symfony/validator": "6.3.*",
"symfony/yaml": "6.3.*"
"symfony/yaml": "6.3.*",
"ext-pdo": "*"
},
"config": {
"allow-plugins": {
+4 -4
View File
@@ -1,15 +1,15 @@
doctrine:
dbal:
# url: '%env(resolve:DATABASE_URL)%'
url: 'mysql://mamb:lakers06@casa.dyb-tech.com:3306/laliga?serverVersion=10.5.22-MariaDB&charset=utf8mb4'
url: 'mysql://mamb:lakers06@db.dyb-tech.com:3306/laliga?serverVersion=10.5.22-MariaDB&charset=utf8mb4'
# url: 'mysql://root:root@localhost:3307/la_liga?serverVersion=7.4.16&charset=utf8mb4'
# IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
profiling_collect_backtrace: '%kernel.debug%'
#profiling_collect_backtrace: '%kernel.debug%'
orm:
auto_generate_proxy_classes: true
auto_generate_proxy_classes: false
enable_lazy_ghost_objects: true
report_fields_where_declared: true
validate_xml_mapping: true
@@ -31,7 +31,7 @@ when@test:
when@prod:
doctrine:
orm:
auto_generate_proxy_classes: false
auto_generate_proxy_classes: true
proxy_dir: '%kernel.build_dir%/doctrine/orm/Proxies'
query_cache_driver:
type: pool
@@ -2,4 +2,4 @@ lexik_jwt_authentication:
secret_key: '%env(resolve:JWT_SECRET_KEY)%'
public_key: '%env(resolve:JWT_PUBLIC_KEY)%'
pass_phrase: '%env(JWT_PASSPHRASE)%'
token_ttl: 1800
token_ttl: 18000
+33
View File
@@ -0,0 +1,33 @@
<?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 Version20240526094546 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('ALTER TABLE custom_role ADD entity_id INT DEFAULT NULL');
$this->addSql('ALTER TABLE team RENAME INDEX idx_home_facility TO IDX_C4E0A61F1ACD745D');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE custom_role DROP entity_id');
$this->addSql('ALTER TABLE team RENAME INDEX idx_c4e0a61f1acd745d TO IDX_HOME_FACILITY');
}
}
+33
View File
@@ -0,0 +1,33 @@
<?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 Version20240602203312 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('ALTER TABLE league DROP points_per_win, DROP points_per_draw, DROP points_per_loss');
$this->addSql('ALTER TABLE season ADD points_per_win INT DEFAULT NULL, ADD points_per_draw INT DEFAULT NULL, ADD points_per_loss INT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE league ADD points_per_win INT DEFAULT NULL, ADD points_per_draw INT DEFAULT NULL, ADD points_per_loss INT DEFAULT NULL');
$this->addSql('ALTER TABLE season DROP points_per_win, DROP points_per_draw, DROP points_per_loss');
}
}
+31
View File
@@ -0,0 +1,31 @@
<?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 Version20240615231250 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('ALTER TABLE user ADD privacy_policy TINYINT(1) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE user DROP privacy_policy');
}
}
+33
View File
@@ -0,0 +1,33 @@
<?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 Version20240714094237 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('ALTER TABLE season ADD games_per_week INT DEFAULT NULL');
$this->addSql('ALTER TABLE team ADD day_of_the_week_for_home_game VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE season DROP games_per_week');
$this->addSql('ALTER TABLE team DROP day_of_the_week_for_home_game');
}
}
+31
View File
@@ -0,0 +1,31 @@
<?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 Version20240720184241 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('ALTER TABLE team ADD league_id INT DEFAULT NULL, ADD team_logo VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE team DROP league_id, DROP team_logo');
}
}
+4 -4
View File
@@ -1,7 +1,7 @@
AuthUserFile "/etc/apache2/passwd.pass"
AuthName "Please Enter Password"
AuthType Basic
Require valid-user
#AuthUserFile "/etc/apache2/passwd.pass"
#AuthName "Please Enter Password"
#AuthType Basic
#Require valid-user
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP:Authorization} .+
+31
View File
@@ -0,0 +1,31 @@
<?php
namespace DMD\LaLigaApi\Controller;
use PDO;
use PDOException;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
class AdminController extends AbstractController
{
#[Route('/admin/db-check', name: 'app_check_db', methods: ['GET'])]
public function index(): Response
{
$host = 'db.dyb-tech.com';
$dbname = 'laliga';
$username = 'mamb';
$password = 'lakers06';
try {
$dbConnection = new PDO("mysql:host=$host;dbname=$dbname", $username, $password);
$dbConnection->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
return new JsonResponse("Connected successfully");
}
catch(PDOException $e)
{
return new JsonResponse("Connection failed: " . $e->getMessage());
}
}
}
+7 -8
View File
@@ -18,14 +18,18 @@ use Symfony\Component\Routing\Annotation\Route;
class LeagueController extends AbstractController
{
#[Route('/api/league/new', name: 'app_league', methods: ['POST'])]
#[Route('/api/league/create', name: 'app_league', methods: ['POST'])]
public function createLeague(Request $request, HandleCreateLeague $handleCreateLeague): JsonResponse
{
return $handleCreateLeague($request);
}
#[Route('/api/league/{$leagueId}', name: 'app_update_league', methods: ['PUT'])]
public function updateLeague(Request $request, HandleUpdateLeague $handleUpdateLeague, int $leagueId): JsonResponse
#[Route('/api/league/{leagueId}', name: 'app_get_put_league', methods: ['GET', 'PUT'])]
public function getOrUpdateLeagueById(Request $request, HandleGetLeagueById $handleGetLeagueById, HandleUpdateLeague $handleUpdateLeague, int $leagueId): JsonResponse
{
if ($request->getMethod() == 'GET')
{
return $handleGetLeagueById($request, $leagueId);
}
return $handleUpdateLeague($request, $leagueId);
}
@@ -44,11 +48,6 @@ class LeagueController extends AbstractController
return $handleCaptainRequest($request, $leagueId, $teamId);
}
#[Route('/api/league/{leagueId}', name: 'app_get_league', methods: ['GET'])]
public function getLeagueById(Request $request, HandleGetLeagueById $handleGetLeagueById, int $leagueId): JsonResponse
{
return $handleGetLeagueById($request, $leagueId);
}
#[Route('/api/public/league', name: 'app_get_all_leagues', methods: ['GET'])]
public function getAllLeagues(HandleGetAllLeagues $handleGetAllLeagues): JsonResponse
{
+27 -2
View File
@@ -2,9 +2,13 @@
namespace DMD\LaLigaApi\Controller;
use DMD\LaLigaApi\Service\Season\addTeam\HandleAddTeam;
use DMD\LaLigaApi\Service\Season\addTeam\HandleAddTeamList;
use DMD\LaLigaApi\Service\Season\createFacilities\HandleCreateFacilities;
use DMD\LaLigaApi\Service\Season\createGameCalendar\HandleCreateGameCalendarRequest;
use DMD\LaLigaApi\Service\Season\createSeason\HandleCreateSeason;
use DMD\LaLigaApi\Service\Season\getAllFacilities\HandleGetAllFacilities;
use DMD\LaLigaApi\Service\Season\getAllTeams\HandleGetSeasonTeams;
use DMD\LaLigaApi\Service\Season\getSeasonById\HandleGetSeasonById;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
@@ -18,11 +22,32 @@ class SeasonController extends AbstractController
return $handleCreateSeason($request, $leagueId);
}
#[Route('/api/league/{leagueId}/season/{seasonId}', name: 'app_get_season_by_id', methods: ['GET'])]
public function getSeasonById(Request $request, HandleGetSeasonById $handleGetSeasonById, int $leagueId, int $seasonId): JsonResponse
{
return $handleGetSeasonById($request, $leagueId, $seasonId);
}
#[Route('/api/league/{leagueId}/season/{seasonId}/team', name: 'app_add_team', methods: ['POST'])]
public function addTeam(Request $request, HandleAddTeam $handleAddTeam, int $leagueId, int $seasonId): JsonResponse
public function addTeam(Request $request, HandleAddTeamList $handleAddTeam, int $leagueId, int $seasonId): JsonResponse
{
return $handleAddTeam($request, $leagueId, $seasonId);
}
#[Route('/api/league/{leagueId}/season/{seasonId}/team', name: 'app_get_season_teams', methods: ['GET'])]
public function getSeasonTeams(Request $request, HandleGetSeasonTeams $handleGetAllTeams, int $leagueId, int $seasonId): JsonResponse
{
return $handleGetAllTeams($request, $leagueId, $seasonId);
}
#[Route('/api/league/{leagueId}/season/{seasonId}/facilities/create', name: 'app_create_facilities', methods: ['POST'])]
public function createFacilities(Request $request, HandleCreateFacilities $handleCreateFacilities, int $leagueId, int $seasonId): JsonResponse
{
return $handleCreateFacilities($request, $leagueId, $seasonId);
}
#[Route('/api/league/{leagueId}/season/{seasonId}/facilities/', name: 'app_get_all_facilities', methods: ['GET'])]
public function getAllFacilities(Request $request, HandleGetAllFacilities $handleGetAllFacilities, int $leagueId, int $seasonId): JsonResponse
{
return $handleGetAllFacilities($request, $leagueId, $seasonId);
}
#[Route('/api/league/{leagueId}/season/{seasonId}/calendar', name: 'app_create_calendar', methods: ['POST'])]
public function createCalendar(Request $request, HandleCreateGameCalendarRequest $handleCreateGameCalendarRequest, int $leagueId, int $seasonId): JsonResponse
+7
View File
@@ -4,6 +4,7 @@ namespace DMD\LaLigaApi\Controller;
use DMD\LaLigaApi\Repository\UserRepository;
use DMD\LaLigaApi\Service\User\Handlers\delete\HandleDeleteUser;
use DMD\LaLigaApi\Service\User\Handlers\getRelationships\HandleGetRelationships;
use DMD\LaLigaApi\Service\User\Handlers\update\HandleUpdateUser;
use DMD\LaLigaApi\Service\User\Handlers\register\HandleRegistration;
use Doctrine\ORM\EntityManagerInterface;
@@ -34,6 +35,12 @@ class UserController extends AbstractController
return $handleUpdateUser($request);
}
#[Route('/api/user/relationships', name: 'app_get_user_relationships', methods: ['GET'])]
public function getUserRelationships(Request $request, HandleGetRelationships $handleGetRelationships): JsonResponse
{
return $handleGetRelationships($request);
}
#[Route('/api/user/password', name: 'app_user_change_password', methods: ['PUT'])]
public function changePassword(
Request $request,
+1 -9
View File
@@ -20,14 +20,6 @@ class FacilityDto
public function toArray(): array
{
$seasonList = [];
if (!empty($this->seasonDtoList))
{
foreach ($this->seasonDtoList as $seasonDto)
{
$seasonList = $seasonDto->toArray();
}
}
return [
'id' => $this->id ?? '',
'name' => $this->name ?? '',
@@ -74,7 +66,7 @@ class FacilityDto
}
}
public function fillFromObject(Facility $facilityEntity): void
public function fillFromEntity(Facility $facilityEntity): void
{
if ($facilityEntity->getId() !== null)
{
+1 -1
View File
@@ -53,7 +53,7 @@ class FileDto
if ($fileEntity->getSeason() !== null)
{
$seasonDto = new SeasonDto();
$seasonDto->fillFromObject($fileEntity->getSeason());
$seasonDto->fillFromEntity($fileEntity->getSeason());
$this->seasonDto = $seasonDto;
}
if ($fileEntity->getGame() !== null)
+5 -5
View File
@@ -30,7 +30,7 @@ class GameDto
'awayTeam' => $this->awayTeamDto->toArray() ?? [],
'plannedDate' => !empty($this->plannedDate) ? $this->plannedDate->format('Y-m-d H:i:s') : null,
'gameDateTime' => !empty($this->gameDateTime) ? $this->gameDateTime->format('Y-m-d H:i:s') : null,
'season' => $this->seasonDto->toArray() ?? [],
'season' => $this->seasonDto->createSeasonArray() ?? [],
'notes' => $this->notes ?? null,
'facility' => $this->facilityDto->toArray() ?? [],
'pointsHome' => $this->pointsHome ?? 0,
@@ -93,25 +93,25 @@ class GameDto
if ($gameEntity->getSeason() !== null)
{
$seasonDto = new SeasonDto();
$seasonDto->fillFromObject($gameEntity->getSeason());
$seasonDto->fillFromEntity($gameEntity->getSeason());
$this->seasonDto = $seasonDto;
}
if ($gameEntity->getFacility() !== null)
{
$facilityDto = new FacilityDto();
$facilityDto->fillFromObject($gameEntity->getFacility());
$facilityDto->fillFromEntity($gameEntity->getFacility());
$this->facilityDto = $facilityDto;
}
if ($gameEntity->getHomeTeam() !== null)
{
$teamDto = new TeamDto();
$teamDto->fillFromObject($gameEntity->getHomeTeam());
$teamDto->fillFromEntity($gameEntity->getHomeTeam());
$this->homeTeamDto = $teamDto;
}
if ($gameEntity->getAwayTeam() !== null)
{
$teamDto = new TeamDto();
$teamDto->fillFromObject($gameEntity->getAwayTeam());
$teamDto->fillFromEntity($gameEntity->getAwayTeam());
$this->awayTeamDto = $teamDto;
}
if ($gameEntity->getFiles() !== null)
+21 -55
View File
@@ -7,15 +7,11 @@ use DMD\LaLigaApi\Entity\League;
class LeagueDto
{
public int $id;
public string $name;
public string $city;
public string $logo;
public string $description;
public int $pointsPerWin;
public int $pointsPerDraw;
public int $pointsPerLoss;
public int $matchesBetweenTeams;
public array $blockedMatchDates;
public bool $active;
@@ -38,14 +34,12 @@ class LeagueDto
return [
'id' => $this->id ?? null,
'name' => $this->name ?? null,
'city' => $this->city ?? null,
'logo' => $this->logo ?? null,
'description' => $this->description ?? null,
'pointsPerWin' => $this->pointsPerWin ?? null,
'pointsPerDraw' => $this->pointsPerDraw ?? null,
'pointsPerLoss' => $this->pointsPerLoss ?? null,
'matchesBetweenTeams' => $this->matchesBetweenTeams ?? [],
'blockedMatchDates' => $this->blockedMatchDates ?? [],
'active' => $this->active ?? null,
'active' => $this->active,
'isPublic' => $this->isPublic ?? null,
'seasonIdList' => $seasonIdList,
'presidentId' => $this->presidentId ?? null,
@@ -53,6 +47,21 @@ class LeagueDto
];
}
public function getAllLeaguesArray(): array
{
$seasonCount = !empty($this->seasonDtoList) ? count($this->seasonDtoList) : 0;
return [
'id' => $this->id ?? '',
'name' => $this->name ?? '',
'city' => $this->city ?? '',
'logo' => $this->logo ?? '',
'seasonCount' => $seasonCount,
'description' => $this->description ?? '',
'isPublic' => $this->isPublic ?? '',
'createdAt' => !empty($this->createdAt) ? $this->createdAt->format('Y-m-d H:i:s') : '',
];
}
public function fillFromArray(array $dataList): void
{
if (isset($dataList['id']))
@@ -75,18 +84,6 @@ class LeagueDto
{
$this->description = $dataList['description'];
}
if (isset($dataList['pointsPerWin']))
{
$this->pointsPerWin = (int) $dataList['pointsPerWin'];
}
if (isset($dataList['pointsPerDraw']))
{
$this->pointsPerDraw = (int) $dataList['pointsPerDraw'];
}
if (isset($dataList['pointsPerLoss']))
{
$this->pointsPerLoss = (int) $dataList['pointsPerLoss'];
}
if (isset($dataList['matchesBetweenTeams']))
{
$this->matchesBetweenTeams = (int) $dataList['matchesBetweenTeams'];
@@ -136,17 +133,9 @@ class LeagueDto
{
$this->logo = $leagueObj->getLogo();
}
if ($leagueObj->getPointsPerWin() !== null)
if ($leagueObj->isActive() !== null)
{
$this->pointsPerWin = $leagueObj->getPointsPerWin();
}
if ($leagueObj->getPointsPerDraw() !== null)
{
$this->pointsPerDraw = $leagueObj->getPointsPerDraw();
}
if ($leagueObj->getPointsPerLoss() !== null)
{
$this->pointsPerLoss = $leagueObj->getPointsPerLoss();
$this->active = $leagueObj->isActive();
}
if ($leagueObj->getMatchesBetweenTeams() !== null)
{
@@ -169,7 +158,7 @@ class LeagueDto
foreach ($leagueObj->getSeasons() as $seasonObj)
{
$seasonDto = new SeasonDto();
$seasonDto->fillFromObject($seasonObj);
$seasonDto->fillFromEntity($seasonObj);
$this->seasonDtoList[] = $seasonDto;
}
}
@@ -188,30 +177,7 @@ class LeagueDto
{
$this->validationErrors[] = 'La localidad no puede estar vacía.';
}
if (empty($this->pointsPerWin))
{
$this->validationErrors[] = 'Los puntos por partido ganado no pueden estar vacíos.';
}
if (
isset($this->pointsPerDraw, $this->pointsPerWin, $this->pointsPerLoss) &&
(($this->pointsPerWin <= $this->pointsPerDraw) ||
($this->pointsPerWin <= $this->pointsPerLoss))
)
{
$this->validationErrors[] = 'Los puntos por partido ganado deben ser superiores a los puntos por empate y por perdida.';
}
if (($this->pointsPerDraw > $this->pointsPerWin))
{
$this->validationErrors[] = 'Los puntos por empate deben ser inferiores a los puntos por partido ganado.';
}
if (($this->pointsPerDraw < $this->pointsPerLoss))
{
$this->validationErrors[] = 'Los puntos por empate deben ser superiores a los puntos por partido perdido.';
}
if ($this->pointsPerWin + $this->pointsPerDraw + $this->pointsPerLoss > 20)
{
$this->validationErrors[] = 'La suma de los puntos por partidos ganados, perdidos y empatados no puede ser superior a 20.';
}
if (!empty($this->validationErrors))
{
throw new ValidationException($this->validationErrors);
+1 -1
View File
@@ -106,7 +106,7 @@ class PlayerDto
if ($playerEntity->getTeam() !== null)
{
$teamDto = new TeamDto();
$teamDto->fillFromObject($playerEntity->getTeam());
$teamDto->fillFromEntity($playerEntity->getTeam());
$this->teamDto = $teamDto;
}
if ($playerEntity->getFiles() !== null)
+127 -21
View File
@@ -3,44 +3,54 @@
namespace DMD\LaLigaApi\Dto;
use DMD\LaLigaApi\Entity\Season;
use DMD\LaLigaApi\Entity\Team;
use DMD\LaLigaApi\Exception\ValidationException;
class SeasonDto
{
public int $id;
public \DateTime $dateStart;
public \DateTime $createdAt;
public array $teamDtoList;
public array $facilityDtoList;
public int $leagueId;
public int $numberOfTeams;
public int $seasonNumber;
public int $gamesPerWeek;
public string $leagueName;
public int $pointsPerWin;
public int $pointsPerLoss;
public int $pointsPerDraw;
public array $gameDtoList;
public array $seasonDataDtoList;
public bool $active;
public array $validationErrors;
public int $matchesBetweenTeams;
public function toArray(): array
public function createSeasonArray(): array
{
$numberOfTeams = $this->numberOfTeams ?? 0;
$teamList = [];
$facilityList = [];
if (!empty($this->teamDtoList))
{
$numberOfTeams = count($this->teamDtoList);
foreach ($this->teamDtoList as $teamDto)
{
$teamList[] = $teamDto->toArray();
}
}
if (!empty($this->facilityDtoList))
{
foreach ($this->facilityDtoList as $facilityDto)
{
$facilityList[] = $facilityDto->toArray();
}
}
return [
'id' => $this->id ?? null,
'dateStart' => !empty($this->dateStart) ? $this->dateStart->format('Y-m'): null,
'seasonNumber' => $this->seasonNumber ?? null,
'numberOfTeams' => $numberOfTeams,
'gamesPerWeek' => $this->gamesPerWeek ?? null,
'dateStart' => !empty($this->dateStart) ? $this->dateStart->format('Y-m-d'): null,
'leagueId' => $this->leagueId ?? null,
'teamList' => $teamList,
'facilityList' => $facilityList,
'leagueName' => $this->leagueName ?? null,
'teams' => $teamList,
'pointsPerWin' => $this->pointsPerWin ?? null,
'pointsPerDraw' => $this->pointsPerDraw ?? null,
'pointsPerLoss' => $this->pointsPerLoss ?? null,
'active' => $this->active ?? null
];
}
@@ -53,16 +63,36 @@ class SeasonDto
}
if (!empty($dataList['dateStart']))
{
$dateStart = \DateTime::createFromFormat('Y-m' ,$dataList['dateStart']);
$dateStart = \DateTime::createFromFormat('Y-m-d', $dataList['dateStart']);
if ($dateStart)
{
$this->dateStart = $dateStart;
}
}
if (isset($dataList['gamesPerWeek']))
{
$this->gamesPerWeek = (int) $dataList['gamesPerWeek'];
}
if (isset($dataList['pointsPerWin']))
{
$this->pointsPerWin = (int) $dataList['pointsPerWin'];
}
if (!empty($dataList['pointsPerDraw']))
{
$this->pointsPerDraw = (int) $dataList['pointsPerDraw'];
}
if (isset($dataList['pointsPerLoss']))
{
$this->pointsPerLoss = (int) $dataList['pointsPerLoss'];
}
if (isset($dataList['active']))
{
$this->active = $dataList['active'];
}
if (isset($dataList['numberOfTeams']))
{
$this->numberOfTeams = $dataList['numberOfTeams'];
}
if (isset($dataList['teamList']))
{
foreach ($dataList['teamList'] as $teamName)
@@ -92,24 +122,76 @@ class SeasonDto
}
}
public function fillFromObject(Season $seasonObj): void
public function fillFromEntity(Season $seasonEntity): void
{
if ($seasonObj->getId() !== null)
if ($seasonEntity->getId() !== null)
{
$this->id = $seasonObj->getId();
$this->id = $seasonEntity->getId();
}
if ($seasonObj->getDateStart() !== null)
if ($seasonEntity->getDateStart() !== null)
{
$this->dateStart = $seasonObj->getDateStart();
$this->dateStart = $seasonEntity->getDateStart();
}
$leagueObj = $seasonObj->getLeague();
$leagueObj = $seasonEntity->getLeague();
if ($leagueObj !== null)
{
$this->leagueId = $leagueObj->getId();
$this->leagueName = $leagueObj->getName();
}
if ($leagueObj->isActive() !== null)
if ($seasonEntity->isActive() !== null)
{
$this->active = $leagueObj->isActive();
$this->active = $seasonEntity->isActive();
}
if ($seasonEntity->getTeams())
{
foreach ($seasonEntity->getTeams() as $teamEntity)
{
$teamDto = new TeamDto();
$teamDto->fillFromEntity($teamEntity);
$this->teamDtoList[] = $teamDto;
}
}
if ($seasonEntity->getFacilities())
{
foreach ($seasonEntity->getFacilities() as $facilityEntity)
{
$facilityDto = new FacilityDto();
$facilityDto->fillFromEntity($facilityEntity);
$this->facilityDtoList[] = $facilityDto;
}
}
if ($seasonEntity->getGames())
{
foreach ($seasonEntity->getGames() as $gameEntity)
{
$gameDto = new GameDto();
$gameDto->fillFromObject($gameEntity);
$this->gameDtoList[] = $gameDto;
}
}
if ($seasonEntity->getCreatedAt())
{
$this->createdAt = \DateTime::createFromFormat('Y-m-d H:i:s', $seasonEntity->getCreatedAt()->format('Y-m-d H:i:s'));
}
if ($seasonEntity->getPointsPerWin())
{
$this->pointsPerWin = $seasonEntity->getPointsPerWin();
}
if ($seasonEntity->getPointsPerLoss())
{
$this->pointsPerLoss = $seasonEntity->getPointsPerLoss();
}
if ($seasonEntity->getPointsPerDraw())
{
$this->pointsPerDraw = $seasonEntity->getPointsPerDraw();
}
if ($seasonEntity->getGamesPerWeek())
{
$this->gamesPerWeek = $seasonEntity->getGamesPerWeek();
}
if ($seasonEntity->isActive())
{
$this->active = $seasonEntity->isActive();
}
}
@@ -118,6 +200,30 @@ class SeasonDto
*/
public function validate(): void
{
if (empty($this->pointsPerWin))
{
$this->validationErrors[] = 'Los puntos por partido ganado no pueden estar vacíos.';
}
if (
isset($this->pointsPerDraw, $this->pointsPerWin, $this->pointsPerLoss) &&
(($this->pointsPerWin <= $this->pointsPerDraw) ||
($this->pointsPerWin <= $this->pointsPerLoss))
)
{
$this->validationErrors[] = 'Los puntos por partido ganado deben ser superiores a los puntos por empate y por perdida.';
}
if (isset($this->pointsPerDraw, $this->pointsPerWin) && ($this->pointsPerDraw > $this->pointsPerWin))
{
$this->validationErrors[] = 'Los puntos por empate deben ser inferiores a los puntos por partido ganado.';
}
if (isset($this->pointsPerDraw, $this->pointsPerLoss) && ($this->pointsPerDraw > 0) && ($this->pointsPerDraw < $this->pointsPerLoss))
{
$this->validationErrors[] = 'Los puntos por empate deben ser superiores a los puntos por partido perdido.';
}
if (isset($this->pointsPerDraw, $this->pointsPerWin, $this->pointsPerLoss) && ($this->pointsPerWin + $this->pointsPerDraw + $this->pointsPerLoss > 20))
{
$this->validationErrors[] = 'La suma de los puntos por partidos ganados, perdidos y empatados no puede ser superior a 20.';
}
if (!empty($this->validationErrors))
{
throw new ValidationException($this->validationErrors);
+37 -23
View File
@@ -10,37 +10,26 @@ class TeamDto
{
public int $id;
public string $name;
public string $dayOfWeekForHomeGame;
public string $logo;
public bool $active;
public int $leagueId;
public array $seasonDtoList;
public array $playerDtoList;
public array $validationErrors;
public UserDto $captainDto;
public \DateTimeImmutable $createdAt;
public UserDto $captainDto;
public array $validationErrors;
public function toArray(): array
{
$seasonList = [];
$playerList = [];
if (!empty($this->seasonDtoList))
{
foreach ($this->seasonDtoList as $seasonDto)
{
$seasonList = $seasonDto->toArray();
}
}
if (!empty($this->playerDtoList))
{
foreach ($this->playerDtoList as $playerDto)
{
$playerList = $playerDto->toArray();
}
}
return [
'id' => $this->id ?? '',
'name' => $this->name ?? '',
'playerList' => $playerList,
'seasonList' => $seasonList,
'captainId' => $this->captainDto?->id,
'createdAt' => $this->createdAt->format('Y-m-d')
'dayOfWeekForHomeGame' => $this->dayOfWeekForHomeGame ?? '',
'logo' => $this->logo ?? '',
'captainName'=> isset($this->captainDto) ? $this->captainDto->firstName . ' ' . $this->captainDto->lastName : 'No asignado',
'captainId'=> isset($this->captainDto) ? $this->captainDto->id : 'No asignado',
];
}
@@ -54,10 +43,22 @@ class TeamDto
{
$this->name = $dataList['name'];
}
if (!empty($dataList['dayOfWeekForHomeGame']))
{
$this->dayOfWeekForHomeGame = $dataList['dayOfWeekForHomeGame'];
}
if (isset($dataList['active']))
{
$this->active = $dataList['active'];
}
if (isset($dataList['logo']))
{
$this->logo = $dataList['logo'];
}
if (isset($dataList['leagueId']))
{
$this->leagueId = (int) $dataList['leagueId'];
}
if (!empty($dataList['seasonList']))
{
foreach ($dataList['seasonList'] as $seasonItem)
@@ -88,7 +89,7 @@ class TeamDto
}
}
public function fillFromObject(Team $teamEntity): void
public function fillFromEntity(Team $teamEntity): void
{
if ($teamEntity->getId())
{
@@ -98,6 +99,10 @@ class TeamDto
{
$this->name = $teamEntity->getName();
}
if ($teamEntity->getDayOfTheWeekForHomeGame())
{
$this->dayOfWeekForHomeGame = $teamEntity->getDayOfTheWeekForHomeGame();
}
if ($teamEntity->getPlayers())
{
foreach ($teamEntity->getPlayers() as $playerEntity)
@@ -107,6 +112,15 @@ class TeamDto
$this->playerDtoList[] = $playerDto;
}
}
if ($teamEntity->getTeamLogo())
{
$this->logo = $teamEntity->getTeamLogo();
}
if ($teamEntity->getCaptain())
{
$this->captainDto = new UserDto;
$this->captainDto->fillFromObject($teamEntity->getCaptain());
}
if ($teamEntity->getCreatedAt())
{
$this->createdAt = $teamEntity->getCreatedAt();
+17
View File
@@ -16,6 +16,7 @@ class UserDto
public string $profilePicture;
public \DateTimeInterface $birthday;
public array $noteList;
public bool $privacyPolicy;
public bool $active;
public array $receivedNotificationDtoList;
public array $validationErrors;
@@ -91,6 +92,10 @@ class UserDto
{
$this->phone = $userObj->getPhone();
}
if ($userObj->isPrivacyPolicy() !== null)
{
$this->privacyPolicy = $userObj->isPrivacyPolicy();
}
if ($userObj->getProfilePicture() !== null)
{
$this->profilePicture = $userObj->getProfilePicture();
@@ -156,6 +161,10 @@ class UserDto
{
$this->active = $dataList['active'];
}
if (isset($dataList['privacyPolicy']))
{
$this->privacyPolicy = $dataList['privacyPolicy'];
}
}
public function validate(): void
@@ -176,6 +185,14 @@ class UserDto
{
$this->validationErrors[] = 'El apellido no puede estar vacío';
}
if (empty($this->privacyPolicy))
{
$this->validationErrors[] = 'No puedes crear cuenta sin aceptar los términos y condiciones';
}
if (!$this->privacyPolicy)
{
$this->validationErrors[] = 'No puedes crear cuenta sin aceptar los términos y condiciones';
}
if (strlen($this->phone) !== 9)
{
$this->validationErrors[] = 'El número de teléfono debe tener 9 dígitos.';
+30
View File
@@ -23,6 +23,12 @@ class CustomRole
#[ORM\Column(nullable: true)]
private ?\DateTimeImmutable $createdAt = null;
#[ORM\Column(nullable: true)]
private ?int $entityId = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $entityName = null;
public function getId(): ?int
{
return $this->id;
@@ -63,4 +69,28 @@ class CustomRole
$this->createdAt = new \DateTimeImmutable('now', new \DateTimeZone('Europe/Madrid'));
return $this;
}
public function getEntityId(): ?int
{
return $this->entityId;
}
public function setEntityId(?int $entityId): static
{
$this->entityId = $entityId;
return $this;
}
public function getEntityName(): ?string
{
return $this->entityName;
}
public function setEntityName(?string $entityName): static
{
$this->entityName = $entityName;
return $this;
}
}
-45
View File
@@ -35,18 +35,9 @@ class League
#[ORM\Column(nullable: true)]
private ?\DateTimeImmutable $createdAt = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerWin = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerDraw = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $city = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerLoss = null;
#[ORM\Column(nullable: true)]
private ?int $matchesBetweenTeams = null;
@@ -158,30 +149,6 @@ class League
$this->createdAt = new \DateTimeImmutable('now', $timezone);
}
public function getPointsPerWin(): ?int
{
return $this->pointsPerWin;
}
public function setPointsPerWin(?int $pointsPerWin): static
{
$this->pointsPerWin = $pointsPerWin;
return $this;
}
public function getPointsPerDraw(): ?int
{
return $this->pointsPerDraw;
}
public function setPointsPerDraw(?int $pointsPerDraw): static
{
$this->pointsPerDraw = $pointsPerDraw;
return $this;
}
public function getCity(): ?string
{
return $this->city;
@@ -194,18 +161,6 @@ class League
return $this;
}
public function getPointsPerLoss(): ?int
{
return $this->pointsPerLoss;
}
public function setPointsPerLoss(?int $pointsPerLoss): static
{
$this->pointsPerLoss = $pointsPerLoss;
return $this;
}
public function getMatchesBetweenTeams(): ?int
{
return $this->matchesBetweenTeams;
+60 -12
View File
@@ -44,6 +44,18 @@ class Season
#[ORM\OneToMany(mappedBy: 'season', targetEntity: File::class)]
private Collection $files;
#[ORM\Column(nullable: true)]
private ?int $pointsPerWin = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerDraw = null;
#[ORM\Column(nullable: true)]
private ?int $pointsPerLoss = null;
#[ORM\Column(nullable: true)]
private ?int $gamesPerWeek = null;
public function __construct()
{
$this->teams = new ArrayCollection();
@@ -93,18 +105,6 @@ class Season
return $this;
}
public function getDateEnd(): ?\DateTimeInterface
{
return $this->dateEnd;
}
public function setDateEnd(?\DateTimeInterface $dateEnd): static
{
$this->dateEnd = $dateEnd;
return $this;
}
public function isActive(): ?bool
{
return $this->active;
@@ -242,4 +242,52 @@ class Season
return $this;
}
public function getPointsPerWin(): ?int
{
return $this->pointsPerWin;
}
public function setPointsPerWin(?int $pointsPerWin): static
{
$this->pointsPerWin = $pointsPerWin;
return $this;
}
public function getPointsPerDraw(): ?int
{
return $this->pointsPerDraw;
}
public function setPointsPerDraw(?int $pointsPerDraw): static
{
$this->pointsPerDraw = $pointsPerDraw;
return $this;
}
public function getPointsPerLoss(): ?int
{
return $this->pointsPerLoss;
}
public function setPointsPerLoss(?int $pointsPerLoss): static
{
$this->pointsPerLoss = $pointsPerLoss;
return $this;
}
public function getGamesPerWeek(): ?int
{
return $this->gamesPerWeek;
}
public function setGamesPerWeek(?int $gamesPerWeek): static
{
$this->gamesPerWeek = $gamesPerWeek;
return $this;
}
}
+45
View File
@@ -40,6 +40,15 @@ class Team
#[ORM\ManyToOne(inversedBy: 'teams')]
private ?Facility $homeFacility = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $dayOfTheWeekForHomeGame = null;
#[ORM\Column(nullable: true)]
private ?int $leagueId = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $teamLogo = null;
public function __construct()
{
$this->seasons = new ArrayCollection();
@@ -199,4 +208,40 @@ class Team
return $this;
}
public function getDayOfTheWeekForHomeGame(): ?string
{
return $this->dayOfTheWeekForHomeGame;
}
public function setDayOfTheWeekForHomeGame(?string $dayOfTheWeekForHomeGame): static
{
$this->dayOfTheWeekForHomeGame = $dayOfTheWeekForHomeGame;
return $this;
}
public function getLeagueId(): ?int
{
return $this->leagueId;
}
public function setLeagueId(?int $leagueId): static
{
$this->leagueId = $leagueId;
return $this;
}
public function getTeamLogo(): ?string
{
return $this->teamLogo;
}
public function setTeamLogo(?string $teamLogo): static
{
$this->teamLogo = $teamLogo;
return $this;
}
}
+15
View File
@@ -64,6 +64,9 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
#[ORM\OneToMany(mappedBy: 'userToNotify', targetEntity: Notification::class, orphanRemoval: true)]
private Collection $receivedNotifications;
#[ORM\Column(nullable: true)]
private ?bool $privacyPolicy = null;
public function __construct()
{
@@ -349,4 +352,16 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
return $this;
}
public function isPrivacyPolicy(): ?bool
{
return $this->privacyPolicy;
}
public function setPrivacyPolicy(?bool $privacyPolicy): static
{
$this->privacyPolicy = $privacyPolicy;
return $this;
}
}
+3 -3
View File
@@ -4,8 +4,8 @@ namespace DMD\LaLigaApi\Enum;
enum Role: string
{
case LEAGUE_PRESIDENT = '_LEAGUE_PRESIDENT';
case LEAGUE_PRESIDENT = 'LEAGUE_PRESIDENT';
case TEAM_CAPTAIN = '_TEAM_CAPTAIN';
case LEAGUE_MEMBER = '_LEAGUE_MEMBER';
case TEAM_CAPTAIN = 'TEAM_CAPTAIN';
case LEAGUE_MEMBER = 'LEAGUE_MEMBER';
}
+1 -1
View File
@@ -36,7 +36,7 @@ class LeagueRepository extends ServiceEntityRepository
// ;
// }
// public function findOneBySomeField($value): ?League
// public function getSeasonCount($value): ?League
// {
// return $this->createQueryBuilder('l')
// ->andWhere('l.exampleField = :val')
+23 -26
View File
@@ -27,59 +27,56 @@ class AuthorizeRequest
{
throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized.");
}
$customRole = $this->customRoleRepository->findBy([
'name' => $leagueId . Role::LEAGUE_PRESIDENT->value,
'userEntity' => $userEntity
$customRole = $this->customRoleRepository->findOneBy([
'name' => Role::LEAGUE_PRESIDENT->value,
'user' => $userEntity,
'entityId' => $leagueId
]);
if (is_null($customRole))
{
throw new HttpException(Response::HTTP_FORBIDDEN, "Usuario no tiene permiso para editar la liga.");
throw new HttpException(Response::HTTP_FORBIDDEN, "Forbidden");
}
}
public function teamCaptainRequest(int $leagueId, $teamId): User
{
$userEntity = $this->security->getUser();
if (!$userEntity instanceof User)
$requestingUserEntity = $this->security->getUser();
if (!$requestingUserEntity instanceof User)
{
throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized");
}
$captainCustomRole = $this->customRoleRepository->findBy([
'name' => $teamId . Role::TEAM_CAPTAIN->value,
'name' => Role::TEAM_CAPTAIN->value,
'entityId' => $teamId
]);
if (!is_null($captainCustomRole))
{
throw new HttpException(Response::HTTP_FORBIDDEN, "Equipo con id: $teamId ya tiene capitan");
}
$leagueMemberRole = $this->customRoleRepository->findBy([
'name' => $leagueId . Role::LEAGUE_MEMBER->value,
'user' => $userEntity
'name' => Role::LEAGUE_MEMBER->value,
'user' => $requestingUserEntity,
'entityId' => $leagueId
]);
if (is_null($leagueMemberRole))
{
throw new HttpException(Response::HTTP_FORBIDDEN, "Usuario no es miembro de la liga");
throw new HttpException(Response::HTTP_FORBIDDEN, "Debes ser miembro de la liga antes de solicitar ser capitan.");
}
return $userEntity;
return $requestingUserEntity;
}
public function isLeaguePresident(int $leagueId, User $leagueAdmin): bool
{
$adminRoles = $leagueAdmin->getCustomRoles();
if (!$adminRoles->isEmpty())
$customRole = $this->customRoleRepository->findBy([
'name' => Role::LEAGUE_PRESIDENT->value,
'entityId' => $leagueId,
'user' => $leagueAdmin
]
);
if (is_null($customRole))
{
foreach ($adminRoles as $adminRoleEntity)
{
$explodedRole = explode('_', $adminRoleEntity->getName());
if (
strtolower($explodedRole[1]) == 'league' &&
strtolower($explodedRole[2]) == 'president' &&
$explodedRole[0] == $leagueId
)
{
return true;
}
}
throw new HttpException(Response::HTTP_FORBIDDEN,'Forbidden.');
}
throw new HttpException(Response::HTTP_NOT_FOUND,'Forbidden.');
return true;
}
}
@@ -1,11 +1,9 @@
<?php
namespace DMD\LaLigaApi\Service\League;
namespace DMD\LaLigaApi\Service\Common;
use DMD\LaLigaApi\Dto\FacilityDto;
use DMD\LaLigaApi\Dto\LeagueDto;
use DMD\LaLigaApi\Entity\Facility;
use DMD\LaLigaApi\Entity\League;
class FacilityFactory
{
@@ -18,11 +16,11 @@ class FacilityFactory
}
if (!empty($facilityDto->address))
{
$facilityEntity->setName($facilityDto->address);
$facilityEntity->setAddress($facilityDto->address);
}
if (!empty($facilityDto->address))
if (!empty($facilityDto->availableHourList))
{
$facilityEntity->setName($facilityDto->address);
$facilityEntity->setAvailableHours($facilityDto->availableHourList);
}
$facilityEntity->setActive(true);
return $facilityEntity;
+30 -2
View File
@@ -7,14 +7,42 @@ use DMD\LaLigaApi\Entity\Team;
class TeamFactory
{
public static function create(TeamDto $teamDto): Team
public static function createEntityFromDto(TeamDto $teamDto): Team
{
$teamEntity = new Team();
if (!empty($teamDto->name))
{
$teamEntity->setName($teamDto->name);
}
$teamEntity->setActive(true);
if (!empty($teamDto->dayOfWeekForHomeGame))
{
$teamEntity->setDayOfTheWeekForHomeGame($teamDto->dayOfWeekForHomeGame);
}
if (!empty($teamDto->logo))
{
$teamEntity->setTeamLogo($teamDto->logo);
}
if (!empty($teamDto->active))
{
$teamEntity->setActive($teamDto->active);
}
if (!empty($teamDto->leagueId))
{
$teamEntity->setLeagueId($teamDto->leagueId);
}
return $teamEntity;
}
public static function createDtoFromEntity(Team $teamEntity): TeamDto
{
$teamDto = new TeamDto();
$teamDto->fillFromEntity($teamEntity);
return $teamDto;
}
public static function createDtoFromArray(array $teamArray): TeamDto
{
$teamDto = new TeamDto();
$teamDto->fillFromArray($teamArray);
$teamDto->active = true;
return $teamDto;
}
}
+18 -14
View File
@@ -9,7 +9,24 @@ class LeagueFactory
{
public static function create(LeagueDto $leagueDto): League
{
$leagueEntity = new League();
$leagueEntity = self::assignProperties(new League(), $leagueDto);
if (isset($leagueDto->isPublic))
{
$leagueEntity->setIsPublic($leagueDto->isPublic);
}
else
{
$leagueEntity->setIsPublic(true);
}
return $leagueEntity;
}
public static function update(League $leagueEntity,LeagueDto $leagueDto): League
{
return self::assignProperties($leagueEntity, $leagueDto);
}
private static function assignProperties(League $leagueEntity, LeagueDto $leagueDto): League
{
if (!empty($leagueDto->name))
{
$leagueEntity->setName($leagueDto->name);
@@ -22,18 +39,6 @@ class LeagueFactory
{
$leagueEntity->setDescription($leagueDto->description);
}
if (isset($leagueDto->pointsPerWin))
{
$leagueEntity->setPointsPerWin($leagueDto->pointsPerWin);
}
if (!empty($leagueDto->pointsPerDraw))
{
$leagueEntity->setPointsPerDraw($leagueDto->pointsPerDraw);
}
if (!empty($leagueDto->pointsPerLoss))
{
$leagueEntity->setPointsPerLoss($leagueDto->pointsPerLoss);
}
if (!empty($leagueDto->matchesBetweenTeams))
{
$leagueEntity->setMatchesBetweenTeams($leagueDto->matchesBetweenTeams);
@@ -46,7 +51,6 @@ class LeagueFactory
{
$leagueEntity->setCity($leagueDto->city);
}
$leagueEntity->setActive(true);
return $leagueEntity;
}
}
@@ -56,7 +56,8 @@ class HandleAcceptJoinLeagueRequest
throw new HttpException(Response::HTTP_NOT_FOUND,"El usuario con id: $userId no ha sido encontrado.");
}
$customRoleEntity = new CustomRole();
$customRoleEntity->setName($leagueId. Role::LEAGUE_MEMBER->value);
$customRoleEntity->setName(Role::LEAGUE_MEMBER->value);
$customRoleEntity->setEntityId($leagueId);
$customRoleEntity->setUser($requestingUserEntity);
$this->entityManager->persist($customRoleEntity);
$this->entityManager->flush();
@@ -1,59 +0,0 @@
<?php
namespace DMD\LaLigaApi\Service\League\createFacilities;
use DMD\LaLigaApi\Dto\FacilityDto;
use DMD\LaLigaApi\Dto\LeagueDto;
use DMD\LaLigaApi\Entity\CustomRole;
use DMD\LaLigaApi\Entity\League;
use DMD\LaLigaApi\Entity\User;
use DMD\LaLigaApi\Enum\Role;
use DMD\LaLigaApi\Exception\ValidationException;
use DMD\LaLigaApi\Repository\UserRepository;
use DMD\LaLigaApi\Service\League\FacilityFactory;
use DMD\LaLigaApi\Service\League\LeagueFactory;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
class HandleCreateFacilities
{
public function __construct(
public FacilityFactory $facilityFactory,
public EntityManagerInterface $entityManager,
public Security $security,
public UserRepository $userRepository
){}
/**
* @throws ValidationException
*/
public function __invoke(Request $request): JsonResponse
{
$userEntity = $this->userRepository->findOneBy([
'email' => $this->security->getUser()?->getUserIdentifier()
]);
if (is_null($userEntity)) {
throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized.");
}
$facilityDto = new FacilityDto();
$facilityDto->fillFromArray($request->toArray());
$facilityDto->validate();
$facilityEntity = $this->facilityFactory::create($facilityDto);
$this->entityManager->persist($facilityEntity);
$this->entityManager->flush();
$facilityDto->id = $facilityEntity->getId();
$facilityDto->createdAt = $facilityEntity->getCreatedAt();
return new JsonResponse(
data: [
'success' => true,
'league' => $facilityDto->toArray()
],
status: Response::HTTP_OK
);
}
}
@@ -42,12 +42,12 @@ class HandleCreateLeague
$leagueDto = new LeagueDto();
$leagueDto->fillFromArray($request->toArray());
$leagueDto->validate();
$leagueDto->active = true;
$leagueEntity = $this->leagueFactory::create($leagueDto);
$leagueEntity->setActive(true);
$this->assignPresidentRole($leagueEntity->getId(), $userEntity);
$this->entityManager->persist($leagueEntity);
$this->entityManager->flush();
$this->assignPresidentRole($leagueEntity->getId(), $userEntity);
$leagueDto->id = $leagueEntity->getId();
$leagueDto->createdAt = $leagueEntity->getCreatedAt();
@@ -62,8 +62,10 @@ class HandleCreateLeague
public function assignPresidentRole(int $leagueId, User $userEntity): void
{
$leaguePresidentRole = new CustomRole();
$leaguePresidentRole->setName($leagueId. Role::LEAGUE_PRESIDENT->value);
$leaguePresidentRole->setName(Role::LEAGUE_PRESIDENT->value);
$leaguePresidentRole->setEntityId($leagueId);
$leaguePresidentRole->setUser($userEntity);
$this->entityManager->persist($leaguePresidentRole);
$this->entityManager->flush();
}
}
@@ -34,7 +34,7 @@ class HandleGetAllLeagues
{
$leagueDto = new LeagueDto();
$leagueDto->fillFromObject($leagueObj);
$leagueArray[] = $leagueDto->toArray();
$leagueArray[] = $leagueDto->getAllLeaguesArray();
}
}
return new JsonResponse(
@@ -4,9 +4,11 @@ namespace DMD\LaLigaApi\Service\League\updateLeague;
use DMD\LaLigaApi\Dto\LeagueDto;
use DMD\LaLigaApi\Entity\League;
use DMD\LaLigaApi\Entity\User;
use DMD\LaLigaApi\Repository\CustomRoleRepository;
use DMD\LaLigaApi\Repository\LeagueRepository;
use DMD\LaLigaApi\Repository\UserRepository;
use DMD\LaLigaApi\Service\Common\AuthorizeRequest;
use DMD\LaLigaApi\Service\League\LeagueFactory;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\SecurityBundle\Security;
@@ -18,8 +20,9 @@ use Symfony\Component\HttpKernel\Exception\HttpException;
class HandleUpdateLeague
{
public function __construct(
public LeagueFactory $leagueSaver,
public LeagueFactory $leagueFactory,
public EntityManagerInterface $entityManager,
public AuthorizeRequest $authorizeRequest,
public Security $security,
public UserRepository $userRepository,
public LeagueRepository $leagueRepository,
@@ -28,16 +31,20 @@ class HandleUpdateLeague
public function __invoke(Request $request, int $leagueId): JsonResponse
{
$authorizationResult = $this->checkUserAuthorization($leagueId);
$this->authorizeRequest->authorizeLeaguePresident($leagueId);
$user = $this->security->getUser();
if (!$user instanceof User)
{
throw new HttpException(Response::HTTP_UNAUTHORIZED, 'User not found');
}
$leagueEntity = $this->leagueRepository->find($leagueId);
$leagueDto = new LeagueDto();
$leagueDto->fillFromObject($authorizationResult['leagueObj']);
$leagueDto->presidentId = $user->getId();
$leagueDto->fillFromObject($leagueEntity);
$leagueDto->fillFromArray($request->toArray());
$leagueDto->validate();
if (!empty($leagueDto->validationErrors))
{
return $this->generateErrorResponse($leagueDto->validationErrors);
}
$this->leagueSaver->save($authorizationResult['leagueObj'], $leagueDto);
$leagueEntity = $this->leagueFactory::update($leagueEntity, $leagueDto);
$this->entityManager->persist($leagueEntity);
$this->entityManager->flush();
return new JsonResponse(
data: [
@@ -47,41 +54,4 @@ class HandleUpdateLeague
status: Response::HTTP_OK
);
}
public function generateErrorResponse(array $validationErrors): JsonResponse
{
return new JsonResponse(
data: [
'success' => false,
'error' => $validationErrors
],
status: Response::HTTP_OK
);
}
public function checkUserAuthorization(int $leagueId): array
{
$user = $this->security->getUser();
if (is_null($user))
{
throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized.");
}
$customRole = $this->customRoleRepository->findBy([
'name' => $leagueId.'_LEAGUE_PRESIDENT',
'user' => $user
]);
if (is_null($customRole))
{
throw new HttpException(Response::HTTP_FORBIDDEN, "Usuario no tiene permiso para editar la liga.");
}
$leagueObj = $this->leagueRepository->find($leagueId);
if (is_null($leagueObj))
{
throw new HttpException(Response::HTTP_NOT_FOUND, "Liga con id: ". $leagueId .' no ha sido encontrada.');
}
return [
'leagueObj' => $leagueObj,
'userObj' => $user
];
}
}
+13 -1
View File
@@ -4,17 +4,29 @@ namespace DMD\LaLigaApi\Service\Season;
use DMD\LaLigaApi\Dto\SeasonDto;
use DMD\LaLigaApi\Entity\Season;
use DMD\LaLigaApi\Entity\Team;
class SeasonFactory
{
public static function create(SeasonDto $seasonDto): Season
{
$seasonEntity = new Season();
$seasonEntity->setActive(true);
if (!empty($seasonDto->dateStart))
{
$seasonEntity->setDateStart($seasonDto->dateStart);
}
if (isset($seasonDto->pointsPerWin))
{
$seasonEntity->setPointsPerWin($seasonDto->pointsPerWin);
}
if (isset($seasonDto->pointsPerDraw))
{
$seasonEntity->setPointsPerDraw($seasonDto->pointsPerDraw);
}
if (isset($seasonDto->pointsPerLoss))
{
$seasonEntity->setPointsPerLoss($seasonDto->pointsPerLoss);
}
return $seasonEntity;
}
}
@@ -13,7 +13,7 @@ use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
class HandleAddTeam
class HandleAddTeamList
{
public function __construct(
public AuthorizeRequest $authorizeRequest,
@@ -40,19 +40,28 @@ class HandleAddTeam
'Temporada con ID: '. $seasonId .' no ha sido encontrada.'
);
}
$teamDto = new TeamDto();
$teamDto->fillFromArray($request->toArray());
$teamDto->validate();
$teamEntity = $this->teamFactory::create($teamDto);
$teamEntity->addSeason($seasonEntity);
$this->entityManager->persist($teamEntity);
$this->entityManager->flush();
$teamDto->id = $teamEntity->getId();
if (empty($request->toArray()))
{
throw new HttpException(Response::HTTP_BAD_REQUEST, 'Empty request.');
}
$teamDtoList = [];
foreach ($request->toArray() as $teamItem)
{
$teamDto = $this->teamFactory::createDtoFromArray($teamItem);
$teamDto->validate();
$teamEntity = $this->teamFactory::createEntityFromDto($teamDto);
$teamEntity->addSeason($seasonEntity);
$teamEntity->setLeagueId($leagueId);
$teamEntity->setActive(true);
$this->entityManager->persist($teamEntity);
$this->entityManager->flush();
$teamDto->id = $teamEntity->getId();
$teamDtoList[] = $teamDto->toArray();
}
return new JsonResponse(
data: [
'success' => true,
'team' => $teamDto->toArray()
'team' => $teamDtoList
],
status: Response::HTTP_OK
);
@@ -0,0 +1,74 @@
<?php
namespace DMD\LaLigaApi\Service\Season\createFacilities;
use DMD\LaLigaApi\Dto\FacilityDto;
use DMD\LaLigaApi\Entity\Season;
use DMD\LaLigaApi\Entity\User;
use DMD\LaLigaApi\Exception\ValidationException;
use DMD\LaLigaApi\Repository\SeasonRepository;
use DMD\LaLigaApi\Repository\UserRepository;
use DMD\LaLigaApi\Service\Common\AuthorizeRequest;
use DMD\LaLigaApi\Service\Common\FacilityFactory;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
class HandleCreateFacilities
{
public function __construct(
public AuthorizeRequest $authorizeRequest,
public FacilityFactory $facilityFactory,
public EntityManagerInterface $entityManager,
public Security $security,
public UserRepository $userRepository,
public SeasonRepository $seasonRepository
){}
/**
* @throws ValidationException
*/
public function __invoke(Request $request, int $leagueId, int $seasonId): JsonResponse
{
$userEntity = $this->security->getUser();
$this->authorizeRequest->authorizeLeaguePresident($leagueId);
if ((!$userEntity instanceof User))
{
throw new HttpException(Response::HTTP_FORBIDDEN, "Unauthorized.");
}
$seasonEntity = $this->seasonRepository->find($seasonId);
if (!$seasonEntity instanceof Season)
{
throw new HttpException(Response::HTTP_NOT_FOUND, 'Season not found, check id.');
}
$facilityEntityList = [];
foreach ($request->toArray() as $facilityItem)
{
$facilityDto = new FacilityDto();
$facilityDto->fillFromArray($facilityItem);
$facilityDto->validate();
$facilityEntity = $this->facilityFactory::create($facilityDto);
$facilityEntity->setSeason($seasonEntity);
$this->entityManager->persist($facilityEntity);
$facilityEntityList[] = $facilityEntity;
}
$this->entityManager->flush();
$facilityResponseArray = [];
foreach ($facilityEntityList as $facilityEntity)
{
$facilityDto = new FacilityDto();
$facilityDto->fillFromEntity($facilityEntity);
$facilityResponseArray[] = $facilityDto->toArray();
}
return new JsonResponse(
data: [
'success' => true,
'facilities' => $facilityResponseArray
],
status: Response::HTTP_OK
);
}
}
@@ -46,7 +46,12 @@ class HandleCreateGameCalendarRequest
'league' => $leagueEntity
]);
$this->validateEntities($leaguePresidentEntity, $leagueEntity, $leagueId, $seasonEntity);
$teamEntityList = ($seasonEntity->getTeams())->toArray();
$teamEntityList = ($seasonEntity->getTeams())?->toArray();
if (empty($teamEntityList))
{
throw new HttpException(Response::HTTP_BAD_REQUEST, 'Temporada sin equipos.');
}
$requestArray = $request->toArray();
$numberOfTeams = count($teamEntityList);
$numberOfWeeks = (2 * ($numberOfTeams * ($numberOfTeams - 1))) / $requestArray['gamesPerWeek'];
@@ -175,14 +180,123 @@ class HandleCreateGameCalendarRequest
// return $game;
}
private function createArrayOfMatches(array $teamEntityList): array
{
$matches = [];
$numTeams = count($teamEntityList);
for ($i = 0; $i < $numTeams; $i++)
{
for ($j = $i + 1; $j < $numTeams; $j++)
{
// Home game
$matches[] = [
'home' => $teamEntityList[$i],
'away' => $teamEntityList[$j]
];
// Away game
$matches[] = [
'home' => $teamEntityList[$j],
'away' => $teamEntityList[$i]
];
}
}
return $matches;
}
private function scheduleMatches($matches, $facilities, $teamPreferences, $gamesPerWeek, $startDate): array
{
$scheduledMatches = [];
$weekNumber = 0;
$dateIterator = new \DateTime($startDate);
shuffle($matches); // Randomize matches to avoid favoring certain teams
foreach ($matches as $match)
{
$homeTeam = $match['home'];
$awayTeam = $match['away'];
$homeFacility = $$homeTeam->getHomeFacility();
$preferredDay = $teamPreferences[$homeTeam]['preferred_day'];
$scheduled = false;
while (!$scheduled) {
// Move to preferred day of the week
$dateIterator->modify('next ' . $preferredDay);
// Check if we've started a new week
if ($dateIterator->format('w') == 1) { // Monday
$weekNumber++;
}
// Check if we've exceeded games per week
if (countGamesInWeek($scheduledMatches, $weekNumber) >= $gamesPerWeek) {
continue;
}
// Check if either team has already played this week
if (hasTeamPlayedThisWeek($scheduledMatches, $homeTeam, $weekNumber) ||
hasTeamPlayedThisWeek($scheduledMatches, $awayTeam, $weekNumber)) {
continue;
}
// Find an available time slot
foreach ($homeFacility['schedule'] as $timeSlot) {
if (isTimeSlotAvailable($scheduledMatches, $homeFacility['name'], $dateIterator, $timeSlot)) {
$scheduledMatches[] = [
'home' => $homeTeam,
'away' => $awayTeam,
'facility' => $homeFacility['name'],
'date' => clone $dateIterator,
'time' => $timeSlot,
'week' => $weekNumber
];
$scheduled = true;
break;
}
}
}
}
return $scheduledMatches;
}
private function countGamesInWeek($scheduledMatches, $weekNumber): int
{
return count(array_filter($scheduledMatches, function($match) use ($weekNumber)
{
return $match['week'] == $weekNumber;
}));
}
function hasTeamPlayedThisWeek($scheduledMatches, $team, $weekNumber): bool
{
return !empty(array_filter($scheduledMatches, function($match) use ($team, $weekNumber)
{
return ($match['home'] == $team || $match['away'] == $team) && $match['week'] == $weekNumber;
}));
}
function isTimeSlotAvailable($scheduledMatches, $facility, $date, $timeSlot): bool
{
foreach ($scheduledMatches as $match)
{
if ($match['facility'] == $facility &&
$match['date']->format('Y-m-d') == $date->format('Y-m-d') &&
$match['time'] == $timeSlot) {
return false;
}
}
return true;
}
private function createGameDto(Team $homeTeamEntity, Team $awayTeamEntity): GameDto
{
$gameDto = new GameDto();
$homeTeamDto = new TeamDto();
$homeTeamDto->fillFromObject($homeTeamEntity);
$homeTeamDto->fillFromEntity($homeTeamEntity);
$gameDto->homeTeamDto = $homeTeamDto;
$awayTeamDto = new TeamDto();
$awayTeamDto->fillFromObject($awayTeamEntity);
$awayTeamDto->fillFromEntity($awayTeamEntity);
$gameDto->awayTeamDto = $awayTeamDto;
return $gameDto;
}
@@ -3,8 +3,12 @@
namespace DMD\LaLigaApi\Service\Season\createSeason;
use DMD\LaLigaApi\Dto\SeasonDto;
use DMD\LaLigaApi\Dto\TeamDto;
use DMD\LaLigaApi\Entity\Season;
use DMD\LaLigaApi\Entity\Team;
use DMD\LaLigaApi\Exception\ValidationException;
use DMD\LaLigaApi\Repository\LeagueRepository;
use DMD\LaLigaApi\Repository\SeasonRepository;
use DMD\LaLigaApi\Service\Common\AuthorizeRequest;
use DMD\LaLigaApi\Service\Common\TeamFactory;
use DMD\LaLigaApi\Service\Season\SeasonFactory;
@@ -12,6 +16,7 @@ use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
class HandleCreateSeason
{
@@ -20,6 +25,7 @@ class HandleCreateSeason
public TeamFactory $teamFactory,
public AuthorizeRequest $authorizeRequest,
public LeagueRepository $leagueRepository,
public SeasonRepository $seasonRepository,
public EntityManagerInterface $entityManager,
){}
@@ -30,31 +36,65 @@ class HandleCreateSeason
{
$this->authorizeRequest->authorizeLeaguePresident($leagueId);
$leagueEntity = $this->leagueRepository->find($leagueId);
if (is_null($leagueEntity))
{
throw new HttpException(Response::HTTP_NOT_FOUND, 'League not found');
}
$seasonCount = $this->seasonRepository->count([
'league' => $leagueId
]);
$seasonDto = new SeasonDto();
$seasonDto->seasonNumber = $seasonCount + 1;
$seasonDto->leagueId = $leagueEntity->getId();
$seasonDto->leagueName = $leagueEntity->getName();
$seasonDto->fillFromArray($request->toArray());
$seasonDto->validate();
$numberOfTeams = $request->toArray()['numberOfTeams'];
$seasonEntity = $this->seasonFactory::create($seasonDto);
$seasonEntity->setLeague($leagueEntity);
if (!empty($seasonDto->teamDtoList))
$seasonEntity->setActive(true);
if (!empty($numberOfTeams))
{
foreach ($seasonDto->teamDtoList as $teamDto)
{
$teamEntity = $this->teamFactory::create($teamDto);
$this->entityManager->persist($teamEntity);
}
$this->createTeams($numberOfTeams, $seasonEntity, $seasonDto);
}
$this->entityManager->persist($seasonEntity);
$this->entityManager->flush();
$teamEntityList = $seasonEntity->getTeams();
$teamDtoList = [];
if (!empty($teamEntityList))
{
foreach ($teamEntityList as $teamEntity)
{
$teamDto = new TeamDto();
$teamDto->name = $teamEntity->getName();
$teamDto->id = $teamEntity->getId();
$teamDtoList[] = $teamDto;
}
}
$seasonDto->id = $seasonEntity->getId();
$seasonDto->teamDtoList = $teamDtoList;
return new JsonResponse(
data: [
'success' => true,
'season' => $seasonDto->toArray()
'season' => $seasonDto->createSeasonArray()
],
status: Response::HTTP_OK
);
}
private function createTeams(int $numberOfTeams, Season $seasonEntity, SeasonDto $seasonDto): void
{
if (!empty($numberOfTeams))
{
for ($i = 0; $i < $numberOfTeams; $i++)
{
$teamEntity = new Team();
$teamEntity->addSeason($seasonEntity);
$teamEntity->setName('Equipo '. $i+1);
$teamEntity->setActive(true);
$this->entityManager->persist($teamEntity);
}
}
}
}
@@ -0,0 +1,55 @@
<?php
namespace DMD\LaLigaApi\Service\Season\getAllFacilities;
use DMD\LaLigaApi\Dto\FacilityDto;
use DMD\LaLigaApi\Dto\SeasonDto;
use DMD\LaLigaApi\Entity\Season;
use DMD\LaLigaApi\Repository\FacilityRepository;
use DMD\LaLigaApi\Repository\SeasonRepository;
use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
class HandleGetAllFacilities
{
public const PAGE_SIZE = 10;
public function __construct(
public EntityManagerInterface $entityManager,
public FacilityRepository $facilityRepository,
public SeasonRepository $seasonRepository
){}
public function __invoke(Request $request, int $leagueId, int $seasonId): JsonResponse
{
$seasonEntity = $this->seasonRepository->find($seasonId);
if (!$seasonEntity instanceof Season)
{
throw new HttpException(Response::HTTP_NOT_FOUND, 'Season not found, check id');
}
$facilityCollection = $this->facilityRepository->findBy([
'season' => $seasonEntity,
'active' => true
]);
$facilityArray = [];
if (!is_null($facilityCollection))
{
foreach ($facilityCollection as $facilityObj)
{
$facilityDto = new FacilityDto();
$facilityDto->fillFromEntity($facilityObj);
$facilityArray[] = $facilityDto->toArray();
}
}
return new JsonResponse(
data: [
'success' => true,
'facilities' => $facilityArray
],
status: Response::HTTP_OK
);
}
}
@@ -9,7 +9,7 @@ use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class HandleGetAllSeason
class HandleGetAllSeasons
{
public const PAGE_SIZE = 10;
@@ -32,8 +32,8 @@ class HandleGetAllSeason
foreach ($seasonCollection as $seasonObj)
{
$seasonDto = new SeasonDto();
$seasonDto->fillFromObject($seasonObj);
$seasonArray[] = $seasonDto->toArray();
$seasonDto->fillFromEntity($seasonObj);
$seasonArray[] = $seasonDto->createSeasonArray();
}
}
return new JsonResponse(
@@ -0,0 +1,67 @@
<?php
namespace DMD\LaLigaApi\Service\Season\getAllTeams;
use DMD\LaLigaApi\Entity\League;
use DMD\LaLigaApi\Entity\Season;
use DMD\LaLigaApi\Repository\LeagueRepository;
use DMD\LaLigaApi\Repository\SeasonRepository;
use DMD\LaLigaApi\Repository\TeamRepository;
use DMD\LaLigaApi\Service\Common\TeamFactory;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
class HandleGetSeasonTeams
{
public function __construct(
public TeamRepository $teamRepository,
public SeasonRepository $seasonRepository,
public LeagueRepository $leagueRepository,
public TeamFactory $teamFactory,
)
{
}
public function __invoke(Request $request ,int $leagueId, int $seasonId): JsonResponse
{
$leagueEntity = $this->leagueRepository->find($leagueId);
$seasonEntity = $this->seasonRepository->findOneBy([
'id' => $seasonId,
'league' => $leagueEntity
]);
$this->validateRequest($leagueEntity, $seasonEntity);
$teamEntityCollection = $seasonEntity?->getTeams();
if (empty($teamEntityCollection))
{
return new JsonResponse([
'success' => true,
'teams' => []
], Response::HTTP_OK);
}
$teamArray = [];
foreach ($teamEntityCollection as $teamEntity)
{
$teamArray[] = ($this->teamFactory::createDtoFromEntity($teamEntity))->toArray();
}
return new JsonResponse(
[
'success' => true,
'teams' => $teamArray
], Response::HTTP_OK
);
}
private function validateRequest(?League $leagueEntity, ?Season $seasonEntity): void
{
if (is_null($leagueEntity))
{
throw new HttpException(Response::HTTP_NOT_FOUND, "League not found");
}
if (is_null($seasonEntity))
{
throw new HttpException(Response::HTTP_NOT_FOUND, "Season not found");
}
}
}
@@ -4,6 +4,7 @@ namespace DMD\LaLigaApi\Service\Season\getSeasonById;
use DMD\LaLigaApi\Dto\LeagueDto;
use DMD\LaLigaApi\Dto\SeasonDto;
use DMD\LaLigaApi\Repository\LeagueRepository;
use DMD\LaLigaApi\Repository\SeasonRepository;
use DMD\LaLigaApi\Repository\UserRepository;
use DMD\LaLigaApi\Service\League\LeagueFactory;
@@ -18,13 +19,18 @@ class HandleGetSeasonById
{
public function __construct(
public EntityManagerInterface $entityManager,
public LeagueRepository $leagueRepository,
public SeasonRepository $seasonRepository,
){}
public function __invoke(Request $request, int $seasonId): JsonResponse
public function __invoke(Request $request, int $leagueId, int $seasonId): JsonResponse
{
$seasonObj = $this->seasonRepository->find($seasonId);
if (is_null($seasonObj))
$leagueEntity = $this->leagueRepository->find($leagueId);
$seasonEntity = $this->seasonRepository->findOneBy([
'id' => $seasonId,
'league' => $leagueEntity,
]);
if (is_null($seasonEntity))
{
throw new HttpException(
Response::HTTP_NOT_FOUND,
@@ -32,11 +38,11 @@ class HandleGetSeasonById
);
}
$seasonDto = new SeasonDto();
$seasonDto->fillFromObject($seasonObj);
$seasonDto->fillFromEntity($seasonEntity);
return new JsonResponse(
data: [
'success' => true,
'season' => $seasonDto->toArray()
'season' => $seasonDto->createSeasonArray()
],
status: Response::HTTP_OK
);
@@ -30,7 +30,7 @@ class HandleUpdateSeason
{
$seasonObj = $this->checkUserAuthorization($leagueId, $seasonId);
$seasonDto = new SeasonDto();
$seasonDto->fillFromObject($seasonObj);
$seasonDto->fillFromEntity($seasonObj);
$seasonDto->fillFromArray($request->toArray());
$seasonDto->validate();
if (!empty($seasonDto->validationErrors))
@@ -43,7 +43,7 @@ class HandleUpdateSeason
return new JsonResponse(
data: [
'success' => true,
'season' => $seasonDto->toArray()
'season' => $seasonDto->createSeasonArray()
],
status: Response::HTTP_OK
);
@@ -0,0 +1,52 @@
<?php
namespace DMD\LaLigaApi\Service\User\Handlers\getRelationships;
use DMD\LaLigaApi\Dto\UserDto;
use DMD\LaLigaApi\Entity\CustomRole;
use DMD\LaLigaApi\Entity\User;
use DMD\LaLigaApi\Repository\UserRepository;
use Symfony\Bundle\SecurityBundle\Security;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpKernel\Exception\HttpException;
class HandleGetRelationships
{
public function __construct(
public Security $security
){}
public function __invoke(): JsonResponse
{
$user = $this->security->getUser();
if (!$user instanceof User)
{
throw new HttpException(Response::HTTP_NOT_FOUND, 'User not found');
}
$customRoles = $user->getCustomRoles();
if (empty($customRoles))
{
return new JsonResponse([
'success' => true,
'relationships' => []
], Response::HTTP_OK);
}
$relationshipArray = [];
foreach ($customRoles as $customRoleEntity)
{
$relationshipArray[] = [
'role' => $customRoleEntity->getName(),
'entityId' => $customRoleEntity->getEntityId()
];
}
return new JsonResponse(
data: [
'success' => true,
'relationships' => $relationshipArray
],
status: Response::HTTP_OK
);
}
}
@@ -5,9 +5,9 @@ namespace DMD\LaLigaApi\Service\User\Handlers\login;
use DMD\LaLigaApi\Dto\NotificationDto;
use DMD\LaLigaApi\Dto\UserDto;
use DMD\LaLigaApi\Entity\User;
use DMD\LaLigaApi\Repository\CustomRoleRepository;
use Lexik\Bundle\JWTAuthenticationBundle\Event\AuthenticationSuccessEvent;
use Symfony\Component\HttpKernel\Exception\HttpException;
use Symfony\Component\Security\Core\User\UserInterface;
class AuthenticationSuccessListener
{
@@ -33,10 +33,23 @@ class AuthenticationSuccessListener
}
$userDto->receivedNotificationDtoList = $notificationDtoList;
$userDto->fillFromObject($user);
$expirationDateTime = (new \DateTime('now', new \DateTimeZone('Europe/Madrid')))->modify('+1800 seconds');
$expirationDateTime = (new \DateTime('now', new \DateTimeZone('Europe/Madrid')))->modify('+18000 seconds');
$data['expirationDateTime'] = $expirationDateTime->format('Y-m-d H:i:s');
$data['user'] = $userDto->toLoginArray();
$customRoleCollection = $user->getCustomRoles();
$relationshipArray = [];
if (!is_null($customRoleCollection))
{
foreach ($customRoleCollection as $customRoleEntity)
{
$relationshipArray[] = [
'role' => $customRoleEntity->getName(),
'entityId' => $customRoleEntity->getEntityId()
];
}
}
$data['relationships'] = $relationshipArray;
$event->setData($data);
}
}
+20
View File
@@ -0,0 +1,20 @@
{% extends 'base.html.twig' %}
{% block title %}Hello AdminController!{% endblock %}
{% block body %}
<style>
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/src/Controller/AdminController.php</code></li>
<li>Your template at <code>D:/My Stuff/DEVELOPMENT/LaLiga/LaLiga-BackEnd/templates/admin/index.html.twig</code></li>
</ul>
</div>
{% endblock %}
View File
@@ -1,958 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\Exception\LogicException;
use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
use Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class DMD_LaLigaApi_KernelDevDebugContainer extends Container
{
protected $targetDir;
protected $parameters = [];
protected \Closure $getService;
public function __construct(private array $buildParameters = [], protected string $containerDir = __DIR__)
{
$this->targetDir = \dirname($containerDir);
$this->parameters = $this->getDefaultParameters();
$this->services = $this->privates = [];
$this->syntheticIds = [
'kernel' => true,
];
$this->methodMap = [
'event_dispatcher' => 'getEventDispatcherService',
'http_kernel' => 'getHttpKernelService',
'request_stack' => 'getRequestStackService',
'router' => 'getRouterService',
];
$this->fileMap = [
'DMD\\LaLigaApi\\Controller\\LeagueController' => 'getLeagueControllerService',
'DMD\\LaLigaApi\\Controller\\NotificationController' => 'getNotificationControllerService',
'DMD\\LaLigaApi\\Controller\\SeasonController' => 'getSeasonControllerService',
'DMD\\LaLigaApi\\Controller\\UserController' => 'getUserControllerService',
'Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController' => 'getRedirectControllerService',
'Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController' => 'getTemplateControllerService',
'cache.app' => 'getCache_AppService',
'cache.app_clearer' => 'getCache_AppClearerService',
'cache.global_clearer' => 'getCache_GlobalClearerService',
'cache.security_is_granted_attribute_expression_language' => 'getCache_SecurityIsGrantedAttributeExpressionLanguageService',
'cache.system' => 'getCache_SystemService',
'cache.system_clearer' => 'getCache_SystemClearerService',
'cache.validator_expression_language' => 'getCache_ValidatorExpressionLanguageService',
'cache_warmer' => 'getCacheWarmerService',
'console.command_loader' => 'getConsole_CommandLoaderService',
'container.env_var_processors_locator' => 'getContainer_EnvVarProcessorsLocatorService',
'container.get_routing_condition_service' => 'getContainer_GetRoutingConditionServiceService',
'debug.error_handler_configurator' => 'getDebug_ErrorHandlerConfiguratorService',
'doctrine' => 'getDoctrineService',
'doctrine.dbal.default_connection' => 'getDoctrine_Dbal_DefaultConnectionService',
'doctrine.orm.default_entity_manager' => 'getDoctrine_Orm_DefaultEntityManagerService',
'error_controller' => 'getErrorControllerService',
'lexik_jwt_authentication.encoder' => 'getLexikJwtAuthentication_EncoderService',
'lexik_jwt_authentication.generate_token_command' => 'getLexikJwtAuthentication_GenerateTokenCommandService',
'lexik_jwt_authentication.jwt_manager' => 'getLexikJwtAuthentication_JwtManagerService',
'lexik_jwt_authentication.key_loader' => 'getLexikJwtAuthentication_KeyLoaderService',
'nelmio_api_doc.command.dump' => 'getNelmioApiDoc_Command_DumpService',
'nelmio_api_doc.controller.swagger_json' => 'getNelmioApiDoc_Controller_SwaggerJsonService',
'nelmio_api_doc.controller.swagger_yaml' => 'getNelmioApiDoc_Controller_SwaggerYamlService',
'nelmio_api_doc.generator.default' => 'getNelmioApiDoc_Generator_DefaultService',
'nelmio_api_doc.render_docs' => 'getNelmioApiDoc_RenderDocsService',
'routing.loader' => 'getRouting_LoaderService',
'services_resetter' => 'getServicesResetterService',
];
$this->aliases = [
'DMD\\LaLigaApi\\Kernel' => 'kernel',
'database_connection' => 'doctrine.dbal.default_connection',
'doctrine.orm.entity_manager' => 'doctrine.orm.default_entity_manager',
'nelmio_api_doc.controller.swagger' => 'nelmio_api_doc.controller.swagger_json',
'nelmio_api_doc.generator' => 'nelmio_api_doc.generator.default',
];
$this->privates['service_container'] = static function ($container) {
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'event-dispatcher'.\DIRECTORY_SEPARATOR.'EventSubscriberInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'ResponseListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'LocaleListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'ValidateRequestListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'DisallowRobotsIndexingListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'ErrorListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'CacheAttributeListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'dependency-injection'.\DIRECTORY_SEPARATOR.'ParameterBag'.\DIRECTORY_SEPARATOR.'ParameterBagInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'dependency-injection'.\DIRECTORY_SEPARATOR.'ParameterBag'.\DIRECTORY_SEPARATOR.'ParameterBag.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'dependency-injection'.\DIRECTORY_SEPARATOR.'ParameterBag'.\DIRECTORY_SEPARATOR.'FrozenParameterBag.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'container'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'ContainerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'dependency-injection'.\DIRECTORY_SEPARATOR.'ParameterBag'.\DIRECTORY_SEPARATOR.'ContainerBagInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'dependency-injection'.\DIRECTORY_SEPARATOR.'ParameterBag'.\DIRECTORY_SEPARATOR.'ContainerBag.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'runtime'.\DIRECTORY_SEPARATOR.'RunnerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'runtime'.\DIRECTORY_SEPARATOR.'Runner'.\DIRECTORY_SEPARATOR.'Symfony'.\DIRECTORY_SEPARATOR.'HttpKernelRunner.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'runtime'.\DIRECTORY_SEPARATOR.'Runner'.\DIRECTORY_SEPARATOR.'Symfony'.\DIRECTORY_SEPARATOR.'ResponseRunner.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'runtime'.\DIRECTORY_SEPARATOR.'RuntimeInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'runtime'.\DIRECTORY_SEPARATOR.'GenericRuntime.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'runtime'.\DIRECTORY_SEPARATOR.'SymfonyRuntime.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'HttpKernelInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'TerminableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'HttpKernel.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ControllerResolverInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'TraceableControllerResolver.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ControllerResolver.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ContainerControllerResolver.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ControllerResolver.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ArgumentResolverInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'TraceableArgumentResolver.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ArgumentResolver.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'ControllerMetadata'.\DIRECTORY_SEPARATOR.'ArgumentMetadataFactoryInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'ControllerMetadata'.\DIRECTORY_SEPARATOR.'ArgumentMetadataFactory.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'service-contracts'.\DIRECTORY_SEPARATOR.'ServiceProviderInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'service-contracts'.\DIRECTORY_SEPARATOR.'ServiceLocatorTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'dependency-injection'.\DIRECTORY_SEPARATOR.'ServiceLocator.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-foundation'.\DIRECTORY_SEPARATOR.'RequestStack.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'LocaleAwareListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'DebugHandlersListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'service-contracts'.\DIRECTORY_SEPARATOR.'ResetInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'stopwatch'.\DIRECTORY_SEPARATOR.'Stopwatch.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'routing'.\DIRECTORY_SEPARATOR.'RequestContext.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'RouterListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'AbstractSessionListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'SessionListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authorization'.\DIRECTORY_SEPARATOR.'AuthorizationCheckerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authorization'.\DIRECTORY_SEPARATOR.'AuthorizationChecker.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'Token'.\DIRECTORY_SEPARATOR.'Storage'.\DIRECTORY_SEPARATOR.'TokenStorageInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'service-contracts'.\DIRECTORY_SEPARATOR.'ServiceSubscriberInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'Token'.\DIRECTORY_SEPARATOR.'Storage'.\DIRECTORY_SEPARATOR.'UsageTrackingTokenStorage.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'Token'.\DIRECTORY_SEPARATOR.'Storage'.\DIRECTORY_SEPARATOR.'TokenStorage.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'AuthenticationTrustResolverInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authentication'.\DIRECTORY_SEPARATOR.'AuthenticationTrustResolver.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'FirewallMapInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-bundle'.\DIRECTORY_SEPARATOR.'Security'.\DIRECTORY_SEPARATOR.'FirewallMap.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Logout'.\DIRECTORY_SEPARATOR.'LogoutUrlGenerator.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'IsGrantedAttributeListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authorization'.\DIRECTORY_SEPARATOR.'AccessDecisionManagerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authorization'.\DIRECTORY_SEPARATOR.'TraceableAccessDecisionManager.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authorization'.\DIRECTORY_SEPARATOR.'AccessDecisionManager.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authorization'.\DIRECTORY_SEPARATOR.'Strategy'.\DIRECTORY_SEPARATOR.'AccessDecisionStrategyInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-core'.\DIRECTORY_SEPARATOR.'Authorization'.\DIRECTORY_SEPARATOR.'Strategy'.\DIRECTORY_SEPARATOR.'AffirmativeStrategy.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Firewall.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-bundle'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'FirewallListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-bundle'.\DIRECTORY_SEPARATOR.'Debug'.\DIRECTORY_SEPARATOR.'TraceableFirewallListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Firewall'.\DIRECTORY_SEPARATOR.'FirewallListenerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Firewall'.\DIRECTORY_SEPARATOR.'AbstractListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-http'.\DIRECTORY_SEPARATOR.'Firewall'.\DIRECTORY_SEPARATOR.'ContextListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'cors-bundle'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'CorsListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'cors-bundle'.\DIRECTORY_SEPARATOR.'Options'.\DIRECTORY_SEPARATOR.'ResolverInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'cors-bundle'.\DIRECTORY_SEPARATOR.'Options'.\DIRECTORY_SEPARATOR.'Resolver.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'cors-bundle'.\DIRECTORY_SEPARATOR.'Options'.\DIRECTORY_SEPARATOR.'ProviderInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'cors-bundle'.\DIRECTORY_SEPARATOR.'Options'.\DIRECTORY_SEPARATOR.'ConfigProvider.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'cors-bundle'.\DIRECTORY_SEPARATOR.'EventListener'.\DIRECTORY_SEPARATOR.'CacheableResponseVaryListener.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'AbstractLogger.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Log'.\DIRECTORY_SEPARATOR.'DebugLoggerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Log'.\DIRECTORY_SEPARATOR.'Logger.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'event-dispatcher'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'EventDispatcherInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'event-dispatcher-contracts'.\DIRECTORY_SEPARATOR.'EventDispatcherInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'event-dispatcher'.\DIRECTORY_SEPARATOR.'EventDispatcherInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'event-dispatcher'.\DIRECTORY_SEPARATOR.'Debug'.\DIRECTORY_SEPARATOR.'TraceableEventDispatcher.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'event-dispatcher'.\DIRECTORY_SEPARATOR.'EventDispatcher.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'routing'.\DIRECTORY_SEPARATOR.'RequestContextAwareInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'routing'.\DIRECTORY_SEPARATOR.'Matcher'.\DIRECTORY_SEPARATOR.'UrlMatcherInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'routing'.\DIRECTORY_SEPARATOR.'Generator'.\DIRECTORY_SEPARATOR.'UrlGeneratorInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'routing'.\DIRECTORY_SEPARATOR.'RouterInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'routing'.\DIRECTORY_SEPARATOR.'Matcher'.\DIRECTORY_SEPARATOR.'RequestMatcherInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'routing'.\DIRECTORY_SEPARATOR.'Router.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheWarmer'.\DIRECTORY_SEPARATOR.'WarmableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Routing'.\DIRECTORY_SEPARATOR.'Router.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'config'.\DIRECTORY_SEPARATOR.'ConfigCacheFactoryInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'config'.\DIRECTORY_SEPARATOR.'ResourceCheckerConfigCacheFactory.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Debug'.\DIRECTORY_SEPARATOR.'TraceableEventDispatcher.php';
};
}
public function compile(): void
{
throw new LogicException('You cannot compile a dumped container that was already compiled.');
}
public function isCompiled(): bool
{
return true;
}
public function getRemovedIds(): array
{
return require $this->containerDir.\DIRECTORY_SEPARATOR.'removed-ids.php';
}
protected function load($file, $lazyLoad = true): mixed
{
if (class_exists($class = __NAMESPACE__.'\\'.$file, false)) {
return $class::do($this, $lazyLoad);
}
if ('.' === $file[-4]) {
$class = substr($class, 0, -4);
} else {
$file .= '.php';
}
$service = require $this->containerDir.\DIRECTORY_SEPARATOR.$file;
return class_exists($class, false) ? $class::do($this, $lazyLoad) : $service;
}
protected function createProxy($class, \Closure $factory)
{
class_exists($class, false) || require __DIR__.'/'.$class.'.php';
return $factory();
}
/**
* Gets the public 'event_dispatcher' shared service.
*
* @return \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher
*/
protected static function getEventDispatcherService($container)
{
$container->services['event_dispatcher'] = $instance = new \Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher(new \Symfony\Component\EventDispatcher\EventDispatcher(), ($container->privates['debug.stopwatch'] ??= new \Symfony\Component\Stopwatch\Stopwatch(true)), ($container->privates['logger'] ?? self::getLoggerService($container)), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));
$instance->addListener('kernel.exception', [#[\Closure(name: 'DMD\\LaLigaApi\\Exception\\ExceptionListener')] fn () => ($container->privates['DMD\\LaLigaApi\\Exception\\ExceptionListener'] ?? $container->load('getExceptionListenerService')), 'onKernelException'], 0);
$instance->addListener('lexik_jwt_authentication.on_authentication_success', [#[\Closure(name: 'DMD\\LaLigaApi\\Service\\User\\Handlers\\login\\AuthenticationSuccessListener')] fn () => ($container->privates['DMD\\LaLigaApi\\Service\\User\\Handlers\\login\\AuthenticationSuccessListener'] ??= new \DMD\LaLigaApi\Service\User\Handlers\login\AuthenticationSuccessListener()), 'onAuthenticationSuccessResponse'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.user_provider', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserProviderListener')] fn () => ($container->privates['security.listener.user_provider'] ?? $container->load('getSecurity_Listener_UserProviderService')), 'checkPassport'], 1024);
$instance->addListener('kernel.response', [#[\Closure(name: 'security.context_listener.0', class: 'Symfony\\Component\\Security\\Http\\Firewall\\ContextListener')] fn () => ($container->privates['security.context_listener.0'] ?? self::getSecurity_ContextListener_0Service($container)), 'onKernelResponse'], 0);
$instance->addListener('kernel.request', [#[\Closure(name: 'nelmio_cors.cors_listener', class: 'Nelmio\\CorsBundle\\EventListener\\CorsListener')] fn () => ($container->privates['nelmio_cors.cors_listener'] ?? self::getNelmioCors_CorsListenerService($container)), 'onKernelRequest'], 250);
$instance->addListener('kernel.response', [#[\Closure(name: 'nelmio_cors.cors_listener', class: 'Nelmio\\CorsBundle\\EventListener\\CorsListener')] fn () => ($container->privates['nelmio_cors.cors_listener'] ?? self::getNelmioCors_CorsListenerService($container)), 'onKernelResponse'], 0);
$instance->addListener('kernel.response', [#[\Closure(name: 'nelmio_cors.cacheable_response_vary_listener', class: 'Nelmio\\CorsBundle\\EventListener\\CacheableResponseVaryListener')] fn () => ($container->privates['nelmio_cors.cacheable_response_vary_listener'] ??= new \Nelmio\CorsBundle\EventListener\CacheableResponseVaryListener()), 'onResponse'], -10);
$instance->addListener('kernel.response', [#[\Closure(name: 'response_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\ResponseListener')] fn () => ($container->privates['response_listener'] ??= new \Symfony\Component\HttpKernel\EventListener\ResponseListener('UTF-8', false)), 'onKernelResponse'], 0);
$instance->addListener('kernel.request', [#[\Closure(name: 'locale_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener')] fn () => ($container->privates['locale_listener'] ?? self::getLocaleListenerService($container)), 'setDefaultLocale'], 100);
$instance->addListener('kernel.request', [#[\Closure(name: 'locale_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener')] fn () => ($container->privates['locale_listener'] ?? self::getLocaleListenerService($container)), 'onKernelRequest'], 16);
$instance->addListener('kernel.finish_request', [#[\Closure(name: 'locale_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener')] fn () => ($container->privates['locale_listener'] ?? self::getLocaleListenerService($container)), 'onKernelFinishRequest'], 0);
$instance->addListener('kernel.request', [#[\Closure(name: 'validate_request_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener')] fn () => ($container->privates['validate_request_listener'] ??= new \Symfony\Component\HttpKernel\EventListener\ValidateRequestListener()), 'onKernelRequest'], 256);
$instance->addListener('kernel.response', [#[\Closure(name: 'disallow_search_engine_index_response_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\DisallowRobotsIndexingListener')] fn () => ($container->privates['disallow_search_engine_index_response_listener'] ??= new \Symfony\Component\HttpKernel\EventListener\DisallowRobotsIndexingListener()), 'onResponse'], -255);
$instance->addListener('kernel.controller_arguments', [#[\Closure(name: 'exception_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener')] fn () => ($container->privates['exception_listener'] ?? self::getExceptionListener2Service($container)), 'onControllerArguments'], 0);
$instance->addListener('kernel.exception', [#[\Closure(name: 'exception_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener')] fn () => ($container->privates['exception_listener'] ?? self::getExceptionListener2Service($container)), 'logKernelException'], 0);
$instance->addListener('kernel.exception', [#[\Closure(name: 'exception_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener')] fn () => ($container->privates['exception_listener'] ?? self::getExceptionListener2Service($container)), 'onKernelException'], -128);
$instance->addListener('kernel.response', [#[\Closure(name: 'exception_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener')] fn () => ($container->privates['exception_listener'] ?? self::getExceptionListener2Service($container)), 'removeCspHeader'], -128);
$instance->addListener('kernel.controller_arguments', [#[\Closure(name: 'controller.cache_attribute_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener')] fn () => ($container->privates['controller.cache_attribute_listener'] ??= new \Symfony\Component\HttpKernel\EventListener\CacheAttributeListener()), 'onKernelControllerArguments'], 10);
$instance->addListener('kernel.response', [#[\Closure(name: 'controller.cache_attribute_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\CacheAttributeListener')] fn () => ($container->privates['controller.cache_attribute_listener'] ??= new \Symfony\Component\HttpKernel\EventListener\CacheAttributeListener()), 'onKernelResponse'], -10);
$instance->addListener('kernel.request', [#[\Closure(name: 'locale_aware_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener')] fn () => ($container->privates['locale_aware_listener'] ?? self::getLocaleAwareListenerService($container)), 'onKernelRequest'], 15);
$instance->addListener('kernel.finish_request', [#[\Closure(name: 'locale_aware_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener')] fn () => ($container->privates['locale_aware_listener'] ?? self::getLocaleAwareListenerService($container)), 'onKernelFinishRequest'], -15);
$instance->addListener('console.error', [#[\Closure(name: 'console.error_listener', class: 'Symfony\\Component\\Console\\EventListener\\ErrorListener')] fn () => ($container->privates['console.error_listener'] ?? $container->load('getConsole_ErrorListenerService')), 'onConsoleError'], -128);
$instance->addListener('console.terminate', [#[\Closure(name: 'console.error_listener', class: 'Symfony\\Component\\Console\\EventListener\\ErrorListener')] fn () => ($container->privates['console.error_listener'] ?? $container->load('getConsole_ErrorListenerService')), 'onConsoleTerminate'], -128);
$instance->addListener('console.error', [#[\Closure(name: 'console.suggest_missing_package_subscriber', class: 'Symfony\\Bundle\\FrameworkBundle\\EventListener\\SuggestMissingPackageSubscriber')] fn () => ($container->privates['console.suggest_missing_package_subscriber'] ??= new \Symfony\Bundle\FrameworkBundle\EventListener\SuggestMissingPackageSubscriber()), 'onConsoleError'], 0);
$instance->addListener('Symfony\\Component\\Mailer\\Event\\MessageEvent', [#[\Closure(name: 'mailer.envelope_listener', class: 'Symfony\\Component\\Mailer\\EventListener\\EnvelopeListener')] fn () => ($container->privates['mailer.envelope_listener'] ??= new \Symfony\Component\Mailer\EventListener\EnvelopeListener(NULL, NULL)), 'onMessage'], -255);
$instance->addListener('Symfony\\Component\\Mailer\\Event\\MessageEvent', [#[\Closure(name: 'mailer.message_logger_listener', class: 'Symfony\\Component\\Mailer\\EventListener\\MessageLoggerListener')] fn () => ($container->privates['mailer.message_logger_listener'] ??= new \Symfony\Component\Mailer\EventListener\MessageLoggerListener()), 'onMessage'], -255);
$instance->addListener('Symfony\\Component\\Mailer\\Event\\MessageEvent', [#[\Closure(name: 'mailer.messenger_transport_listener', class: 'Symfony\\Component\\Mailer\\EventListener\\MessengerTransportListener')] fn () => ($container->privates['mailer.messenger_transport_listener'] ??= new \Symfony\Component\Mailer\EventListener\MessengerTransportListener()), 'onMessage'], 0);
$instance->addListener('kernel.request', [#[\Closure(name: 'debug.debug_handlers_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener')] fn () => ($container->privates['debug.debug_handlers_listener'] ??= new \Symfony\Component\HttpKernel\EventListener\DebugHandlersListener()), 'configure'], 2048);
$instance->addListener('console.command', [#[\Closure(name: 'debug.debug_handlers_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener')] fn () => ($container->privates['debug.debug_handlers_listener'] ??= new \Symfony\Component\HttpKernel\EventListener\DebugHandlersListener()), 'configure'], 2048);
$instance->addListener('kernel.request', [#[\Closure(name: 'router_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener')] fn () => ($container->privates['router_listener'] ?? self::getRouterListenerService($container)), 'onKernelRequest'], 32);
$instance->addListener('kernel.finish_request', [#[\Closure(name: 'router_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener')] fn () => ($container->privates['router_listener'] ?? self::getRouterListenerService($container)), 'onKernelFinishRequest'], 0);
$instance->addListener('kernel.exception', [#[\Closure(name: 'router_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\RouterListener')] fn () => ($container->privates['router_listener'] ?? self::getRouterListenerService($container)), 'onKernelException'], -64);
$instance->addListener('kernel.request', [#[\Closure(name: 'session_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\SessionListener')] fn () => ($container->privates['session_listener'] ?? self::getSessionListenerService($container)), 'onKernelRequest'], 128);
$instance->addListener('kernel.response', [#[\Closure(name: 'session_listener', class: 'Symfony\\Component\\HttpKernel\\EventListener\\SessionListener')] fn () => ($container->privates['session_listener'] ?? self::getSessionListenerService($container)), 'onKernelResponse'], -1000);
$instance->addListener('console.error', [#[\Closure(name: 'maker.console_error_listener', class: 'Symfony\\Bundle\\MakerBundle\\Event\\ConsoleErrorSubscriber')] fn () => ($container->privates['maker.console_error_listener'] ??= new \Symfony\Bundle\MakerBundle\Event\ConsoleErrorSubscriber()), 'onConsoleError'], 0);
$instance->addListener('console.terminate', [#[\Closure(name: 'maker.console_error_listener', class: 'Symfony\\Bundle\\MakerBundle\\Event\\ConsoleErrorSubscriber')] fn () => ($container->privates['maker.console_error_listener'] ??= new \Symfony\Bundle\MakerBundle\Event\ConsoleErrorSubscriber()), 'onConsoleTerminate'], 0);
$instance->addListener('kernel.controller_arguments', [#[\Closure(name: 'controller.is_granted_attribute_listener', class: 'Symfony\\Component\\Security\\Http\\EventListener\\IsGrantedAttributeListener')] fn () => ($container->privates['controller.is_granted_attribute_listener'] ?? self::getController_IsGrantedAttributeListenerService($container)), 'onKernelControllerArguments'], 20);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.check_authenticator_credentials', class: 'Symfony\\Component\\Security\\Http\\EventListener\\CheckCredentialsListener')] fn () => ($container->privates['security.listener.check_authenticator_credentials'] ?? $container->load('getSecurity_Listener_CheckAuthenticatorCredentialsService')), 'checkPassport'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [#[\Closure(name: 'security.listener.password_migrating', class: 'Symfony\\Component\\Security\\Http\\EventListener\\PasswordMigratingListener')] fn () => ($container->privates['security.listener.password_migrating'] ?? $container->load('getSecurity_Listener_PasswordMigratingService')), 'onLoginSuccess'], 0);
$instance->addListener('debug.security.authorization.vote', [#[\Closure(name: 'debug.security.voter.vote_listener', class: 'Symfony\\Bundle\\SecurityBundle\\EventListener\\VoteListener')] fn () => ($container->privates['debug.security.voter.vote_listener'] ?? $container->load('getDebug_Security_Voter_VoteListenerService')), 'onVoterVote'], 0);
$instance->addListener('kernel.request', [#[\Closure(name: 'debug.security.firewall', class: 'Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener')] fn () => ($container->privates['debug.security.firewall'] ?? self::getDebug_Security_FirewallService($container)), 'configureLogoutUrlGenerator'], 8);
$instance->addListener('kernel.request', [#[\Closure(name: 'debug.security.firewall', class: 'Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener')] fn () => ($container->privates['debug.security.firewall'] ?? self::getDebug_Security_FirewallService($container)), 'onKernelRequest'], 8);
$instance->addListener('kernel.finish_request', [#[\Closure(name: 'debug.security.firewall', class: 'Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener')] fn () => ($container->privates['debug.security.firewall'] ?? self::getDebug_Security_FirewallService($container)), 'onKernelFinishRequest'], 0);
$instance->addListener('kernel.view', [#[\Closure(name: 'controller.template_attribute_listener', class: 'Symfony\\Bridge\\Twig\\EventListener\\TemplateAttributeListener')] fn () => ($container->privates['controller.template_attribute_listener'] ?? $container->load('getController_TemplateAttributeListenerService')), 'onKernelView'], -128);
$instance->addListener('Symfony\\Component\\Mailer\\Event\\MessageEvent', [#[\Closure(name: 'twig.mailer.message_listener', class: 'Symfony\\Component\\Mailer\\EventListener\\MessageListener')] fn () => ($container->privates['twig.mailer.message_listener'] ?? $container->load('getTwig_Mailer_MessageListenerService')), 'onMessage'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.csrf_protection', class: 'Symfony\\Component\\Security\\Http\\EventListener\\CsrfProtectionListener')] fn () => ($container->privates['security.listener.csrf_protection'] ?? $container->load('getSecurity_Listener_CsrfProtectionService')), 'checkPassport'], 512);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [#[\Closure(name: 'security.logout.listener.csrf_token_clearing', class: 'Symfony\\Component\\Security\\Http\\EventListener\\CsrfTokenClearingLogoutListener')] fn () => ($container->privates['security.logout.listener.csrf_token_clearing'] ?? $container->load('getSecurity_Logout_Listener_CsrfTokenClearingService')), 'onLogout'], 0);
return $instance;
}
/**
* Gets the public 'http_kernel' shared service.
*
* @return \Symfony\Component\HttpKernel\HttpKernel
*/
protected static function getHttpKernelService($container)
{
$a = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));
if (isset($container->services['http_kernel'])) {
return $container->services['http_kernel'];
}
$b = ($container->privates['debug.stopwatch'] ??= new \Symfony\Component\Stopwatch\Stopwatch(true));
return $container->services['http_kernel'] = new \Symfony\Component\HttpKernel\HttpKernel($a, new \Symfony\Component\HttpKernel\Controller\TraceableControllerResolver(new \Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver($container, ($container->privates['logger'] ?? self::getLoggerService($container))), $b), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()), new \Symfony\Component\HttpKernel\Controller\TraceableArgumentResolver(new \Symfony\Component\HttpKernel\Controller\ArgumentResolver(new \Symfony\Component\HttpKernel\ControllerMetadata\ArgumentMetadataFactory(), new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['.debug.value_resolver.security.user_value_resolver'] ?? $container->load('get_Debug_ValueResolver_Security_UserValueResolverService'));
yield 1 => ($container->privates['.debug.value_resolver.security.security_token_value_resolver'] ?? $container->load('get_Debug_ValueResolver_Security_SecurityTokenValueResolverService'));
yield 2 => ($container->privates['.debug.value_resolver.doctrine.orm.entity_value_resolver'] ?? $container->load('get_Debug_ValueResolver_Doctrine_Orm_EntityValueResolverService'));
yield 3 => ($container->privates['.debug.value_resolver.argument_resolver.backed_enum_resolver'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_BackedEnumResolverService'));
yield 4 => ($container->privates['.debug.value_resolver.argument_resolver.datetime'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_DatetimeService'));
yield 5 => ($container->privates['.debug.value_resolver.argument_resolver.request_attribute'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_RequestAttributeService'));
yield 6 => ($container->privates['.debug.value_resolver.argument_resolver.request'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_RequestService'));
yield 7 => ($container->privates['.debug.value_resolver.argument_resolver.session'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_SessionService'));
yield 8 => ($container->privates['.debug.value_resolver.argument_resolver.service'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_ServiceService'));
yield 9 => ($container->privates['.debug.value_resolver.argument_resolver.default'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_DefaultService'));
yield 10 => ($container->privates['.debug.value_resolver.argument_resolver.variadic'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_VariadicService'));
yield 11 => ($container->privates['.debug.value_resolver.argument_resolver.not_tagged_controller'] ?? $container->load('get_Debug_ValueResolver_ArgumentResolver_NotTaggedControllerService'));
}, 12), new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'Symfony\\Bridge\\Doctrine\\ArgumentResolver\\EntityValueResolver' => ['privates', '.debug.value_resolver.doctrine.orm.entity_value_resolver', 'get_Debug_ValueResolver_Doctrine_Orm_EntityValueResolverService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\BackedEnumValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.backed_enum_resolver', 'get_Debug_ValueResolver_ArgumentResolver_BackedEnumResolverService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\DateTimeValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.datetime', 'get_Debug_ValueResolver_ArgumentResolver_DatetimeService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\DefaultValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.default', 'get_Debug_ValueResolver_ArgumentResolver_DefaultService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\QueryParameterValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.query_parameter_value_resolver', 'get_Debug_ValueResolver_ArgumentResolver_QueryParameterValueResolverService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestAttributeValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.request_attribute', 'get_Debug_ValueResolver_ArgumentResolver_RequestAttributeService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.request_payload', 'get_Debug_ValueResolver_ArgumentResolver_RequestPayloadService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.request', 'get_Debug_ValueResolver_ArgumentResolver_RequestService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\ServiceValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.service', 'get_Debug_ValueResolver_ArgumentResolver_ServiceService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\SessionValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.session', 'get_Debug_ValueResolver_ArgumentResolver_SessionService', true],
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\VariadicValueResolver' => ['privates', '.debug.value_resolver.argument_resolver.variadic', 'get_Debug_ValueResolver_ArgumentResolver_VariadicService', true],
'Symfony\\Component\\Security\\Http\\Controller\\SecurityTokenValueResolver' => ['privates', '.debug.value_resolver.security.security_token_value_resolver', 'get_Debug_ValueResolver_Security_SecurityTokenValueResolverService', true],
'Symfony\\Component\\Security\\Http\\Controller\\UserValueResolver' => ['privates', '.debug.value_resolver.security.user_value_resolver', 'get_Debug_ValueResolver_Security_UserValueResolverService', true],
'argument_resolver.not_tagged_controller' => ['privates', '.debug.value_resolver.argument_resolver.not_tagged_controller', 'get_Debug_ValueResolver_ArgumentResolver_NotTaggedControllerService', true],
], [
'Symfony\\Bridge\\Doctrine\\ArgumentResolver\\EntityValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\BackedEnumValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\DateTimeValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\DefaultValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\QueryParameterValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestAttributeValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\ServiceValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\SessionValueResolver' => '?',
'Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\VariadicValueResolver' => '?',
'Symfony\\Component\\Security\\Http\\Controller\\SecurityTokenValueResolver' => '?',
'Symfony\\Component\\Security\\Http\\Controller\\UserValueResolver' => '?',
'argument_resolver.not_tagged_controller' => '?',
])), $b), true);
}
/**
* Gets the public 'request_stack' shared service.
*
* @return \Symfony\Component\HttpFoundation\RequestStack
*/
protected static function getRequestStackService($container)
{
return $container->services['request_stack'] = new \Symfony\Component\HttpFoundation\RequestStack();
}
/**
* Gets the public 'router' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Routing\Router
*/
protected static function getRouterService($container)
{
$container->services['router'] = $instance = new \Symfony\Bundle\FrameworkBundle\Routing\Router((new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'routing.loader' => ['services', 'routing.loader', 'getRouting_LoaderService', true],
], [
'routing.loader' => 'Symfony\\Component\\Config\\Loader\\LoaderInterface',
]))->withContext('router.default', $container), 'kernel::loadRoutes', ['cache_dir' => $container->targetDir.'', 'debug' => true, 'generator_class' => 'Symfony\\Component\\Routing\\Generator\\CompiledUrlGenerator', 'generator_dumper_class' => 'Symfony\\Component\\Routing\\Generator\\Dumper\\CompiledUrlGeneratorDumper', 'matcher_class' => 'Symfony\\Bundle\\FrameworkBundle\\Routing\\RedirectableCompiledUrlMatcher', 'matcher_dumper_class' => 'Symfony\\Component\\Routing\\Matcher\\Dumper\\CompiledUrlMatcherDumper', 'strict_requirements' => true, 'resource_type' => 'service'], ($container->privates['router.request_context'] ?? self::getRouter_RequestContextService($container)), ($container->privates['parameter_bag'] ??= new \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag($container)), ($container->privates['logger'] ?? self::getLoggerService($container)), 'en');
$instance->setConfigCacheFactory(new \Symfony\Component\Config\ResourceCheckerConfigCacheFactory(new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['dependency_injection.config.container_parameters_resource_checker'] ??= new \Symfony\Component\DependencyInjection\Config\ContainerParametersResourceChecker($container));
yield 1 => ($container->privates['config.resource.self_checking_resource_checker'] ??= new \Symfony\Component\Config\Resource\SelfCheckingResourceChecker());
}, 2)));
return $instance;
}
/**
* Gets the private '.service_locator.dsdSIIc' shared service.
*
* @return \Symfony\Component\DependencyInjection\ServiceLocator
*/
protected static function get_ServiceLocator_DsdSIIcService($container)
{
return $container->privates['.service_locator.dsdSIIc'] = new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'security.firewall.map.context.api' => ['privates', 'security.firewall.map.context.api', 'getSecurity_Firewall_Map_Context_ApiService', true],
'security.firewall.map.context.dev' => ['privates', 'security.firewall.map.context.dev', 'getSecurity_Firewall_Map_Context_DevService', true],
'security.firewall.map.context.login' => ['privates', 'security.firewall.map.context.login', 'getSecurity_Firewall_Map_Context_LoginService', true],
'security.firewall.map.context.main' => ['privates', 'security.firewall.map.context.main', 'getSecurity_Firewall_Map_Context_MainService', true],
], [
'security.firewall.map.context.api' => '?',
'security.firewall.map.context.dev' => '?',
'security.firewall.map.context.login' => '?',
'security.firewall.map.context.main' => '?',
]);
}
/**
* Gets the private 'controller.is_granted_attribute_listener' shared service.
*
* @return \Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener
*/
protected static function getController_IsGrantedAttributeListenerService($container)
{
$a = ($container->privates['security.authorization_checker'] ?? self::getSecurity_AuthorizationCheckerService($container));
if (isset($container->privates['controller.is_granted_attribute_listener'])) {
return $container->privates['controller.is_granted_attribute_listener'];
}
return $container->privates['controller.is_granted_attribute_listener'] = new \Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener($a, NULL);
}
/**
* Gets the private 'debug.security.access.decision_manager' shared service.
*
* @return \Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager
*/
protected static function getDebug_Security_Access_DecisionManagerService($container)
{
return $container->privates['debug.security.access.decision_manager'] = new \Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager(new \Symfony\Component\Security\Core\Authorization\AccessDecisionManager(new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['.debug.security.voter.security.access.authenticated_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_AuthenticatedVoterService'));
yield 1 => ($container->privates['.debug.security.voter.security.access.simple_role_voter'] ?? $container->load('get_Debug_Security_Voter_Security_Access_SimpleRoleVoterService'));
}, 2), new \Symfony\Component\Security\Core\Authorization\Strategy\AffirmativeStrategy(false)));
}
/**
* Gets the private 'debug.security.event_dispatcher.main' shared service.
*
* @return \Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher
*/
protected static function getDebug_Security_EventDispatcher_MainService($container)
{
$container->privates['debug.security.event_dispatcher.main'] = $instance = new \Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher(new \Symfony\Component\EventDispatcher\EventDispatcher(), ($container->privates['debug.stopwatch'] ??= new \Symfony\Component\Stopwatch\Stopwatch(true)), ($container->privates['logger'] ?? self::getLoggerService($container)), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.main.user_provider', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserProviderListener')] fn () => ($container->privates['security.listener.main.user_provider'] ?? $container->load('getSecurity_Listener_Main_UserProviderService')), 'checkPassport'], 2048);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [#[\Closure(name: 'security.listener.session.main', class: 'Symfony\\Component\\Security\\Http\\EventListener\\SessionStrategyListener')] fn () => ($container->privates['security.listener.session.main'] ?? $container->load('getSecurity_Listener_Session_MainService')), 'onSuccessfulLogin'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.user_checker.main', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserCheckerListener')] fn () => ($container->privates['security.listener.user_checker.main'] ?? $container->load('getSecurity_Listener_UserChecker_MainService')), 'preCheckCredentials'], 256);
$instance->addListener('security.authentication.success', [#[\Closure(name: 'security.listener.user_checker.main', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserCheckerListener')] fn () => ($container->privates['security.listener.user_checker.main'] ?? $container->load('getSecurity_Listener_UserChecker_MainService')), 'postCheckCredentials'], 256);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.user_provider', class: 'Symfony\\Component\\Security\\Http\\EventListener\\UserProviderListener')] fn () => ($container->privates['security.listener.user_provider'] ?? $container->load('getSecurity_Listener_UserProviderService')), 'checkPassport'], 1024);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.check_authenticator_credentials', class: 'Symfony\\Component\\Security\\Http\\EventListener\\CheckCredentialsListener')] fn () => ($container->privates['security.listener.check_authenticator_credentials'] ?? $container->load('getSecurity_Listener_CheckAuthenticatorCredentialsService')), 'checkPassport'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LoginSuccessEvent', [#[\Closure(name: 'security.listener.password_migrating', class: 'Symfony\\Component\\Security\\Http\\EventListener\\PasswordMigratingListener')] fn () => ($container->privates['security.listener.password_migrating'] ?? $container->load('getSecurity_Listener_PasswordMigratingService')), 'onLoginSuccess'], 0);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\CheckPassportEvent', [#[\Closure(name: 'security.listener.csrf_protection', class: 'Symfony\\Component\\Security\\Http\\EventListener\\CsrfProtectionListener')] fn () => ($container->privates['security.listener.csrf_protection'] ?? $container->load('getSecurity_Listener_CsrfProtectionService')), 'checkPassport'], 512);
$instance->addListener('Symfony\\Component\\Security\\Http\\Event\\LogoutEvent', [#[\Closure(name: 'security.logout.listener.csrf_token_clearing', class: 'Symfony\\Component\\Security\\Http\\EventListener\\CsrfTokenClearingLogoutListener')] fn () => ($container->privates['security.logout.listener.csrf_token_clearing'] ?? $container->load('getSecurity_Logout_Listener_CsrfTokenClearingService')), 'onLogout'], 0);
return $instance;
}
/**
* Gets the private 'debug.security.firewall' shared service.
*
* @return \Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener
*/
protected static function getDebug_Security_FirewallService($container)
{
$a = ($container->privates['security.firewall.map'] ?? self::getSecurity_Firewall_MapService($container));
if (isset($container->privates['debug.security.firewall'])) {
return $container->privates['debug.security.firewall'];
}
$b = ($container->services['event_dispatcher'] ?? self::getEventDispatcherService($container));
if (isset($container->privates['debug.security.firewall'])) {
return $container->privates['debug.security.firewall'];
}
return $container->privates['debug.security.firewall'] = new \Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener($a, $b, ($container->privates['security.logout_url_generator'] ?? self::getSecurity_LogoutUrlGeneratorService($container)));
}
/**
* Gets the private 'exception_listener' shared service.
*
* @return \Symfony\Component\HttpKernel\EventListener\ErrorListener
*/
protected static function getExceptionListener2Service($container)
{
return $container->privates['exception_listener'] = new \Symfony\Component\HttpKernel\EventListener\ErrorListener('error_controller', ($container->privates['logger'] ?? self::getLoggerService($container)), true, []);
}
/**
* Gets the private 'locale_aware_listener' shared service.
*
* @return \Symfony\Component\HttpKernel\EventListener\LocaleAwareListener
*/
protected static function getLocaleAwareListenerService($container)
{
return $container->privates['locale_aware_listener'] = new \Symfony\Component\HttpKernel\EventListener\LocaleAwareListener(new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['slugger'] ??= new \Symfony\Component\String\Slugger\AsciiSlugger('en'));
}, 1), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));
}
/**
* Gets the private 'locale_listener' shared service.
*
* @return \Symfony\Component\HttpKernel\EventListener\LocaleListener
*/
protected static function getLocaleListenerService($container)
{
return $container->privates['locale_listener'] = new \Symfony\Component\HttpKernel\EventListener\LocaleListener(($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()), 'en', ($container->services['router'] ?? self::getRouterService($container)), false, []);
}
/**
* Gets the private 'logger' shared service.
*
* @return \Symfony\Component\HttpKernel\Log\Logger
*/
protected static function getLoggerService($container)
{
return $container->privates['logger'] = new \Symfony\Component\HttpKernel\Log\Logger(NULL, NULL, NULL, ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()));
}
/**
* Gets the private 'nelmio_cors.cors_listener' shared service.
*
* @return \Nelmio\CorsBundle\EventListener\CorsListener
*/
protected static function getNelmioCors_CorsListenerService($container)
{
return $container->privates['nelmio_cors.cors_listener'] = new \Nelmio\CorsBundle\EventListener\CorsListener(new \Nelmio\CorsBundle\Options\Resolver([new \Nelmio\CorsBundle\Options\ConfigProvider($container->parameters['nelmio_cors.map'], $container->parameters['nelmio_cors.defaults'])]));
}
/**
* Gets the private 'parameter_bag' shared service.
*
* @return \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag
*/
protected static function getParameterBagService($container)
{
return $container->privates['parameter_bag'] = new \Symfony\Component\DependencyInjection\ParameterBag\ContainerBag($container);
}
/**
* Gets the private 'router.request_context' shared service.
*
* @return \Symfony\Component\Routing\RequestContext
*/
protected static function getRouter_RequestContextService($container)
{
return $container->privates['router.request_context'] = \Symfony\Component\Routing\RequestContext::fromUri('', 'localhost', 'http', 80, 443);
}
/**
* Gets the private 'router_listener' shared service.
*
* @return \Symfony\Component\HttpKernel\EventListener\RouterListener
*/
protected static function getRouterListenerService($container)
{
return $container->privates['router_listener'] = new \Symfony\Component\HttpKernel\EventListener\RouterListener(($container->services['router'] ?? self::getRouterService($container)), ($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()), ($container->privates['router.request_context'] ?? self::getRouter_RequestContextService($container)), ($container->privates['logger'] ?? self::getLoggerService($container)), \dirname(__DIR__, 4), true);
}
/**
* Gets the private 'security.authorization_checker' shared service.
*
* @return \Symfony\Component\Security\Core\Authorization\AuthorizationChecker
*/
protected static function getSecurity_AuthorizationCheckerService($container)
{
$a = ($container->privates['debug.security.access.decision_manager'] ?? self::getDebug_Security_Access_DecisionManagerService($container));
if (isset($container->privates['security.authorization_checker'])) {
return $container->privates['security.authorization_checker'];
}
return $container->privates['security.authorization_checker'] = new \Symfony\Component\Security\Core\Authorization\AuthorizationChecker(($container->privates['security.token_storage'] ?? self::getSecurity_TokenStorageService($container)), $a, false, false);
}
/**
* Gets the private 'security.context_listener.0' shared service.
*
* @return \Symfony\Component\Security\Http\Firewall\ContextListener
*/
protected static function getSecurity_ContextListener_0Service($container)
{
return $container->privates['security.context_listener.0'] = new \Symfony\Component\Security\Http\Firewall\ContextListener(($container->privates['security.untracked_token_storage'] ??= new \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage()), new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['security.user.provider.concrete.app_user_provider'] ?? $container->load('getSecurity_User_Provider_Concrete_AppUserProviderService'));
}, 1), 'main', ($container->privates['logger'] ?? self::getLoggerService($container)), ($container->privates['debug.security.event_dispatcher.main'] ?? self::getDebug_Security_EventDispatcher_MainService($container)), ($container->privates['security.authentication.trust_resolver'] ??= new \Symfony\Component\Security\Core\Authentication\AuthenticationTrustResolver()), [($container->privates['security.token_storage'] ?? self::getSecurity_TokenStorageService($container)), 'enableUsageTracking']);
}
/**
* Gets the private 'security.firewall.map' shared service.
*
* @return \Symfony\Bundle\SecurityBundle\Security\FirewallMap
*/
protected static function getSecurity_Firewall_MapService($container)
{
$a = ($container->privates['.service_locator.dsdSIIc'] ?? self::get_ServiceLocator_DsdSIIcService($container));
if (isset($container->privates['security.firewall.map'])) {
return $container->privates['security.firewall.map'];
}
return $container->privates['security.firewall.map'] = new \Symfony\Bundle\SecurityBundle\Security\FirewallMap($a, new RewindableGenerator(function () use ($container) {
yield 'security.firewall.map.context.login' => ($container->privates['.security.request_matcher.0QxrXJt'] ?? $container->load('get_Security_RequestMatcher_0QxrXJtService'));
yield 'security.firewall.map.context.api' => ($container->privates['.security.request_matcher.vhy2oy3'] ?? $container->load('get_Security_RequestMatcher_Vhy2oy3Service'));
yield 'security.firewall.map.context.dev' => ($container->privates['.security.request_matcher.kLbKLHa'] ?? $container->load('get_Security_RequestMatcher_KLbKLHaService'));
yield 'security.firewall.map.context.main' => NULL;
}, 4));
}
/**
* Gets the private 'security.logout_url_generator' shared service.
*
* @return \Symfony\Component\Security\Http\Logout\LogoutUrlGenerator
*/
protected static function getSecurity_LogoutUrlGeneratorService($container)
{
return $container->privates['security.logout_url_generator'] = new \Symfony\Component\Security\Http\Logout\LogoutUrlGenerator(($container->services['request_stack'] ??= new \Symfony\Component\HttpFoundation\RequestStack()), ($container->services['router'] ?? self::getRouterService($container)), ($container->privates['security.token_storage'] ?? self::getSecurity_TokenStorageService($container)));
}
/**
* Gets the private 'security.token_storage' shared service.
*
* @return \Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage
*/
protected static function getSecurity_TokenStorageService($container)
{
return $container->privates['security.token_storage'] = new \Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage(($container->privates['security.untracked_token_storage'] ??= new \Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage()), new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'request_stack' => ['services', 'request_stack', 'getRequestStackService', false],
], [
'request_stack' => '?',
]));
}
/**
* Gets the private 'session_listener' shared service.
*
* @return \Symfony\Component\HttpKernel\EventListener\SessionListener
*/
protected static function getSessionListenerService($container)
{
return $container->privates['session_listener'] = new \Symfony\Component\HttpKernel\EventListener\SessionListener(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'logger' => ['privates', 'logger', 'getLoggerService', false],
'session_factory' => ['privates', 'session.factory', 'getSession_FactoryService', true],
], [
'logger' => '?',
'session_factory' => '?',
]), true, $container->parameters['session.storage.options']);
}
public function getParameter(string $name): array|bool|string|int|float|\UnitEnum|null
{
if (isset($this->buildParameters[$name])) {
return $this->buildParameters[$name];
}
if (!(isset($this->parameters[$name]) || isset($this->loadedDynamicParameters[$name]) || \array_key_exists($name, $this->parameters))) {
throw new ParameterNotFoundException($name);
}
if (isset($this->loadedDynamicParameters[$name])) {
return $this->loadedDynamicParameters[$name] ? $this->dynamicParameters[$name] : $this->getDynamicParameter($name);
}
return $this->parameters[$name];
}
public function hasParameter(string $name): bool
{
if (isset($this->buildParameters[$name])) {
return true;
}
return isset($this->parameters[$name]) || isset($this->loadedDynamicParameters[$name]) || \array_key_exists($name, $this->parameters);
}
public function setParameter(string $name, $value): void
{
throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
}
public function getParameterBag(): ParameterBagInterface
{
if (null === $this->parameterBag) {
$parameters = $this->parameters;
foreach ($this->loadedDynamicParameters as $name => $loaded) {
$parameters[$name] = $loaded ? $this->dynamicParameters[$name] : $this->getDynamicParameter($name);
}
foreach ($this->buildParameters as $name => $value) {
$parameters[$name] = $value;
}
$this->parameterBag = new FrozenParameterBag($parameters);
}
return $this->parameterBag;
}
private $loadedDynamicParameters = [
'kernel.runtime_environment' => false,
'kernel.build_dir' => false,
'kernel.cache_dir' => false,
'kernel.secret' => false,
'debug.file_link_format' => false,
'debug.container.dump' => false,
'router.cache_dir' => false,
'validator.mapping.cache.file' => false,
'doctrine.orm.proxy_dir' => false,
'lexik_jwt_authentication.pass_phrase' => false,
];
private $dynamicParameters = [];
private function getDynamicParameter(string $name)
{
$container = $this;
$value = match ($name) {
'kernel.runtime_environment' => $container->getEnv('default:kernel.environment:APP_RUNTIME_ENV'),
'kernel.build_dir' => $container->targetDir.'',
'kernel.cache_dir' => $container->targetDir.'',
'kernel.secret' => $container->getEnv('APP_SECRET'),
'debug.file_link_format' => $container->getEnv('default::SYMFONY_IDE'),
'debug.container.dump' => ($container->targetDir.''.'/DMD_LaLigaApi_KernelDevDebugContainer.xml'),
'router.cache_dir' => $container->targetDir.'',
'validator.mapping.cache.file' => ($container->targetDir.''.'/validation.php'),
'doctrine.orm.proxy_dir' => ($container->targetDir.''.'/doctrine/orm/Proxies'),
'lexik_jwt_authentication.pass_phrase' => $container->getEnv('JWT_PASSPHRASE'),
default => throw new ParameterNotFoundException($name),
};
$this->loadedDynamicParameters[$name] = true;
return $this->dynamicParameters[$name] = $value;
}
protected function getDefaultParameters(): array
{
return [
'kernel.project_dir' => \dirname(__DIR__, 4),
'kernel.environment' => 'dev',
'kernel.debug' => true,
'kernel.logs_dir' => (\dirname(__DIR__, 3).''.\DIRECTORY_SEPARATOR.'log'),
'kernel.bundles' => [
'FrameworkBundle' => 'Symfony\\Bundle\\FrameworkBundle\\FrameworkBundle',
'DoctrineBundle' => 'Doctrine\\Bundle\\DoctrineBundle\\DoctrineBundle',
'DoctrineMigrationsBundle' => 'Doctrine\\Bundle\\MigrationsBundle\\DoctrineMigrationsBundle',
'MakerBundle' => 'Symfony\\Bundle\\MakerBundle\\MakerBundle',
'SecurityBundle' => 'Symfony\\Bundle\\SecurityBundle\\SecurityBundle',
'LexikJWTAuthenticationBundle' => 'Lexik\\Bundle\\JWTAuthenticationBundle\\LexikJWTAuthenticationBundle',
'NelmioCorsBundle' => 'Nelmio\\CorsBundle\\NelmioCorsBundle',
'TwigBundle' => 'Symfony\\Bundle\\TwigBundle\\TwigBundle',
'NelmioApiDocBundle' => 'Nelmio\\ApiDocBundle\\NelmioApiDocBundle',
],
'kernel.bundles_metadata' => [
'FrameworkBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'),
'namespace' => 'Symfony\\Bundle\\FrameworkBundle',
],
'DoctrineBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'doctrine'.\DIRECTORY_SEPARATOR.'doctrine-bundle'),
'namespace' => 'Doctrine\\Bundle\\DoctrineBundle',
],
'DoctrineMigrationsBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'doctrine'.\DIRECTORY_SEPARATOR.'doctrine-migrations-bundle'),
'namespace' => 'Doctrine\\Bundle\\MigrationsBundle',
],
'MakerBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'maker-bundle'.\DIRECTORY_SEPARATOR.'src'),
'namespace' => 'Symfony\\Bundle\\MakerBundle',
],
'SecurityBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'security-bundle'),
'namespace' => 'Symfony\\Bundle\\SecurityBundle',
],
'LexikJWTAuthenticationBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'lexik'.\DIRECTORY_SEPARATOR.'jwt-authentication-bundle'),
'namespace' => 'Lexik\\Bundle\\JWTAuthenticationBundle',
],
'NelmioCorsBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'cors-bundle'),
'namespace' => 'Nelmio\\CorsBundle',
],
'TwigBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'twig-bundle'),
'namespace' => 'Symfony\\Bundle\\TwigBundle',
],
'NelmioApiDocBundle' => [
'path' => (\dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'nelmio'.\DIRECTORY_SEPARATOR.'api-doc-bundle'),
'namespace' => 'Nelmio\\ApiDocBundle',
],
],
'kernel.charset' => 'UTF-8',
'kernel.container_class' => 'DMD_LaLigaApi_KernelDevDebugContainer',
'event_dispatcher.event_aliases' => [
'Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => 'console.command',
'Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => 'console.error',
'Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => 'console.signal',
'Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => 'console.terminate',
'Symfony\\Component\\HttpKernel\\Event\\ControllerArgumentsEvent' => 'kernel.controller_arguments',
'Symfony\\Component\\HttpKernel\\Event\\ControllerEvent' => 'kernel.controller',
'Symfony\\Component\\HttpKernel\\Event\\ResponseEvent' => 'kernel.response',
'Symfony\\Component\\HttpKernel\\Event\\FinishRequestEvent' => 'kernel.finish_request',
'Symfony\\Component\\HttpKernel\\Event\\RequestEvent' => 'kernel.request',
'Symfony\\Component\\HttpKernel\\Event\\ViewEvent' => 'kernel.view',
'Symfony\\Component\\HttpKernel\\Event\\ExceptionEvent' => 'kernel.exception',
'Symfony\\Component\\HttpKernel\\Event\\TerminateEvent' => 'kernel.terminate',
'Symfony\\Component\\Security\\Core\\Event\\AuthenticationSuccessEvent' => 'security.authentication.success',
'Symfony\\Component\\Security\\Http\\Event\\InteractiveLoginEvent' => 'security.interactive_login',
'Symfony\\Component\\Security\\Http\\Event\\SwitchUserEvent' => 'security.switch_user',
],
'fragment.renderer.hinclude.global_template' => NULL,
'fragment.path' => '/_fragment',
'kernel.http_method_override' => false,
'kernel.trust_x_sendfile_type_header' => false,
'kernel.trusted_hosts' => [
],
'kernel.default_locale' => 'en',
'kernel.enabled_locales' => [
],
'kernel.error_controller' => 'error_controller',
'debug.error_handler.throw_at' => -1,
'router.request_context.host' => 'localhost',
'router.request_context.scheme' => 'http',
'router.request_context.base_url' => '',
'router.resource' => 'kernel::loadRoutes',
'request_listener.http_port' => 80,
'request_listener.https_port' => 443,
'session.metadata.storage_key' => '_sf2_meta',
'session.storage.options' => [
'cache_limiter' => '0',
'cookie_secure' => 'auto',
'cookie_httponly' => true,
'cookie_samesite' => 'lax',
'gc_probability' => 1,
],
'session.save_path' => NULL,
'session.metadata.update_threshold' => 0,
'validator.translation_domain' => 'validators',
'data_collector.templates' => [
],
'doctrine.dbal.configuration.class' => 'Doctrine\\DBAL\\Configuration',
'doctrine.data_collector.class' => 'Doctrine\\Bundle\\DoctrineBundle\\DataCollector\\DoctrineDataCollector',
'doctrine.dbal.connection.event_manager.class' => 'Symfony\\Bridge\\Doctrine\\ContainerAwareEventManager',
'doctrine.dbal.connection_factory.class' => 'Doctrine\\Bundle\\DoctrineBundle\\ConnectionFactory',
'doctrine.dbal.events.mysql_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\MysqlSessionInit',
'doctrine.dbal.events.oracle_session_init.class' => 'Doctrine\\DBAL\\Event\\Listeners\\OracleSessionInit',
'doctrine.class' => 'Doctrine\\Bundle\\DoctrineBundle\\Registry',
'doctrine.entity_managers' => [
'default' => 'doctrine.orm.default_entity_manager',
],
'doctrine.default_entity_manager' => 'default',
'doctrine.dbal.connection_factory.types' => [
],
'doctrine.connections' => [
'default' => 'doctrine.dbal.default_connection',
],
'doctrine.default_connection' => 'default',
'doctrine.orm.configuration.class' => 'Doctrine\\ORM\\Configuration',
'doctrine.orm.entity_manager.class' => 'Doctrine\\ORM\\EntityManager',
'doctrine.orm.manager_configurator.class' => 'Doctrine\\Bundle\\DoctrineBundle\\ManagerConfigurator',
'doctrine.orm.cache.array.class' => 'Doctrine\\Common\\Cache\\ArrayCache',
'doctrine.orm.cache.apc.class' => 'Doctrine\\Common\\Cache\\ApcCache',
'doctrine.orm.cache.memcache.class' => 'Doctrine\\Common\\Cache\\MemcacheCache',
'doctrine.orm.cache.memcache_host' => 'localhost',
'doctrine.orm.cache.memcache_port' => 11211,
'doctrine.orm.cache.memcache_instance.class' => 'Memcache',
'doctrine.orm.cache.memcached.class' => 'Doctrine\\Common\\Cache\\MemcachedCache',
'doctrine.orm.cache.memcached_host' => 'localhost',
'doctrine.orm.cache.memcached_port' => 11211,
'doctrine.orm.cache.memcached_instance.class' => 'Memcached',
'doctrine.orm.cache.redis.class' => 'Doctrine\\Common\\Cache\\RedisCache',
'doctrine.orm.cache.redis_host' => 'localhost',
'doctrine.orm.cache.redis_port' => 6379,
'doctrine.orm.cache.redis_instance.class' => 'Redis',
'doctrine.orm.cache.xcache.class' => 'Doctrine\\Common\\Cache\\XcacheCache',
'doctrine.orm.cache.wincache.class' => 'Doctrine\\Common\\Cache\\WinCacheCache',
'doctrine.orm.cache.zenddata.class' => 'Doctrine\\Common\\Cache\\ZendDataCache',
'doctrine.orm.metadata.driver_chain.class' => 'Doctrine\\Persistence\\Mapping\\Driver\\MappingDriverChain',
'doctrine.orm.metadata.annotation.class' => 'Doctrine\\ORM\\Mapping\\Driver\\AnnotationDriver',
'doctrine.orm.metadata.xml.class' => 'Doctrine\\ORM\\Mapping\\Driver\\SimplifiedXmlDriver',
'doctrine.orm.metadata.yml.class' => 'Doctrine\\ORM\\Mapping\\Driver\\SimplifiedYamlDriver',
'doctrine.orm.metadata.php.class' => 'Doctrine\\ORM\\Mapping\\Driver\\PHPDriver',
'doctrine.orm.metadata.staticphp.class' => 'Doctrine\\ORM\\Mapping\\Driver\\StaticPHPDriver',
'doctrine.orm.metadata.attribute.class' => 'Doctrine\\ORM\\Mapping\\Driver\\AttributeDriver',
'doctrine.orm.proxy_cache_warmer.class' => 'Symfony\\Bridge\\Doctrine\\CacheWarmer\\ProxyCacheWarmer',
'form.type_guesser.doctrine.class' => 'Symfony\\Bridge\\Doctrine\\Form\\DoctrineOrmTypeGuesser',
'doctrine.orm.validator.unique.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\Constraints\\UniqueEntityValidator',
'doctrine.orm.validator_initializer.class' => 'Symfony\\Bridge\\Doctrine\\Validator\\DoctrineInitializer',
'doctrine.orm.security.user.provider.class' => 'Symfony\\Bridge\\Doctrine\\Security\\User\\EntityUserProvider',
'doctrine.orm.listeners.resolve_target_entity.class' => 'Doctrine\\ORM\\Tools\\ResolveTargetEntityListener',
'doctrine.orm.listeners.attach_entity_listeners.class' => 'Doctrine\\ORM\\Tools\\AttachEntityListenersListener',
'doctrine.orm.naming_strategy.default.class' => 'Doctrine\\ORM\\Mapping\\DefaultNamingStrategy',
'doctrine.orm.naming_strategy.underscore.class' => 'Doctrine\\ORM\\Mapping\\UnderscoreNamingStrategy',
'doctrine.orm.quote_strategy.default.class' => 'Doctrine\\ORM\\Mapping\\DefaultQuoteStrategy',
'doctrine.orm.quote_strategy.ansi.class' => 'Doctrine\\ORM\\Mapping\\AnsiQuoteStrategy',
'doctrine.orm.entity_listener_resolver.class' => 'Doctrine\\Bundle\\DoctrineBundle\\Mapping\\ContainerEntityListenerResolver',
'doctrine.orm.second_level_cache.default_cache_factory.class' => 'Doctrine\\ORM\\Cache\\DefaultCacheFactory',
'doctrine.orm.second_level_cache.default_region.class' => 'Doctrine\\ORM\\Cache\\Region\\DefaultRegion',
'doctrine.orm.second_level_cache.filelock_region.class' => 'Doctrine\\ORM\\Cache\\Region\\FileLockRegion',
'doctrine.orm.second_level_cache.logger_chain.class' => 'Doctrine\\ORM\\Cache\\Logging\\CacheLoggerChain',
'doctrine.orm.second_level_cache.logger_statistics.class' => 'Doctrine\\ORM\\Cache\\Logging\\StatisticsCacheLogger',
'doctrine.orm.second_level_cache.cache_configuration.class' => 'Doctrine\\ORM\\Cache\\CacheConfiguration',
'doctrine.orm.second_level_cache.regions_configuration.class' => 'Doctrine\\ORM\\Cache\\RegionsConfiguration',
'doctrine.orm.auto_generate_proxy_classes' => true,
'doctrine.orm.enable_lazy_ghost_objects' => true,
'doctrine.orm.proxy_namespace' => 'Proxies',
'doctrine.migrations.preferred_em' => NULL,
'doctrine.migrations.preferred_connection' => NULL,
'security.role_hierarchy.roles' => [
],
'security.access.denied_url' => NULL,
'security.authentication.manager.erase_credentials' => true,
'security.authentication.session_strategy.strategy' => 'migrate',
'security.authentication.hide_user_not_found' => true,
'security.firewalls' => [
0 => 'login',
1 => 'api',
2 => 'dev',
3 => 'main',
],
'lexik_jwt_authentication.authenticator_manager_enabled' => true,
'lexik_jwt_authentication.token_ttl' => 1800,
'lexik_jwt_authentication.clock_skew' => 0,
'lexik_jwt_authentication.user_identity_field' => 'username',
'lexik_jwt_authentication.allow_no_expiration' => false,
'lexik_jwt_authentication.user_id_claim' => 'username',
'lexik_jwt_authentication.encoder.signature_algorithm' => 'RS256',
'lexik_jwt_authentication.encoder.crypto_engine' => 'openssl',
'nelmio_cors.map' => [
'^/' => [
'skip_same_as_origin' => true,
],
],
'nelmio_cors.defaults' => [
'allow_origin' => true,
'allow_credentials' => false,
'allow_headers' => [
0 => 'content-type',
1 => 'authorization',
],
'expose_headers' => [
0 => 'Link',
],
'allow_methods' => [
0 => 'GET',
1 => 'OPTIONS',
2 => 'POST',
3 => 'PUT',
4 => 'PATCH',
5 => 'DELETE',
],
'max_age' => 3600,
'hosts' => [
],
'origin_regex' => true,
'forced_allow_origin_value' => NULL,
'skip_same_as_origin' => true,
],
'nelmio_cors.cors_listener.class' => 'Nelmio\\CorsBundle\\EventListener\\CorsListener',
'nelmio_cors.options_resolver.class' => 'Nelmio\\CorsBundle\\Options\\Resolver',
'nelmio_cors.options_provider.config.class' => 'Nelmio\\CorsBundle\\Options\\ConfigProvider',
'twig.form.resources' => [
0 => 'form_div_layout.html.twig',
],
'twig.default_path' => (\dirname(__DIR__, 4).'/templates'),
'nelmio_api_doc.areas' => [
0 => 'default',
],
'nelmio_api_doc.use_validation_groups' => false,
'console.command.ids' => [
],
];
}
}
@@ -1,45 +0,0 @@
<?php
namespace ContainerKNyDmfm;
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'doctrine'.\DIRECTORY_SEPARATOR.'persistence'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Persistence'.\DIRECTORY_SEPARATOR.'ObjectManager.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'doctrine'.\DIRECTORY_SEPARATOR.'orm'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'EntityManagerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'doctrine'.\DIRECTORY_SEPARATOR.'orm'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'EntityManager.php';
class EntityManagerGhostAd02211 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('EntityManagerGhostAd02211', false)) {
\class_alias(__NAMESPACE__.'\\EntityManagerGhostAd02211', 'EntityManagerGhostAd02211', false);
}
@@ -1,28 +0,0 @@
<?php
namespace ContainerKNyDmfm;
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ValueResolverInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Controller'.\DIRECTORY_SEPARATOR.'ArgumentResolver'.\DIRECTORY_SEPARATOR.'RequestPayloadValueResolver.php';
class RequestPayloadValueResolverGhostE4c6c7a extends \Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestPayloadValueResolver implements \Symfony\Component\VarExporter\LazyObjectInterface
{
use \Symfony\Component\VarExporter\LazyGhostTrait;
private const LAZY_OBJECT_PROPERTY_SCOPES = [
"\0".parent::class."\0".'serializer' => [parent::class, 'serializer', parent::class],
"\0".parent::class."\0".'translator' => [parent::class, 'translator', parent::class],
"\0".parent::class."\0".'validator' => [parent::class, 'validator', parent::class],
'serializer' => [parent::class, 'serializer', parent::class],
'translator' => [parent::class, 'translator', parent::class],
'validator' => [parent::class, 'validator', parent::class],
];
}
// 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('RequestPayloadValueResolverGhostE4c6c7a', false)) {
\class_alias(__NAMESPACE__.'\\RequestPayloadValueResolverGhostE4c6c7a', 'RequestPayloadValueResolverGhostE4c6c7a', false);
}
@@ -1,25 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getAuthorizeRequestService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'DMD\LaLigaApi\Service\Common\AuthorizeRequest' shared autowired service.
*
* @return \DMD\LaLigaApi\Service\Common\AuthorizeRequest
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'Service'.\DIRECTORY_SEPARATOR.'Common'.\DIRECTORY_SEPARATOR.'AuthorizeRequest.php';
return $container->privates['DMD\\LaLigaApi\\Service\\Common\\AuthorizeRequest'] = new \DMD\LaLigaApi\Service\Common\AuthorizeRequest(($container->privates['security.helper'] ?? $container->load('getSecurity_HelperService')), ($container->privates['DMD\\LaLigaApi\\Repository\\CustomRoleRepository'] ?? $container->load('getCustomRoleRepositoryService')), ($container->privates['DMD\\LaLigaApi\\Repository\\LeagueRepository'] ?? $container->load('getLeagueRepositoryService')));
}
}
@@ -1,32 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCacheWarmerService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'cache_warmer' shared service.
*
* @return \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheWarmer'.\DIRECTORY_SEPARATOR.'CacheWarmerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheWarmer'.\DIRECTORY_SEPARATOR.'CacheWarmerAggregate.php';
return $container->services['cache_warmer'] = new \Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerAggregate(new RewindableGenerator(function () use ($container) {
yield 0 => ($container->privates['config_builder.warmer'] ?? $container->load('getConfigBuilder_WarmerService'));
yield 1 => ($container->privates['router.cache_warmer'] ?? $container->load('getRouter_CacheWarmerService'));
yield 2 => ($container->privates['validator.mapping.cache_warmer'] ?? $container->load('getValidator_Mapping_CacheWarmerService'));
yield 3 => ($container->privates['doctrine.orm.proxy_cache_warmer'] ?? $container->load('getDoctrine_Orm_ProxyCacheWarmerService'));
yield 4 => ($container->privates['twig.template_cache_warmer'] ?? $container->load('getTwig_TemplateCacheWarmerService'));
}, 5), true, ($container->targetDir.''.'/DMD_LaLigaApi_KernelDevDebugContainerDeprecations.log'));
}
}
@@ -1,26 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCache_AppClearerService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'cache.app_clearer' shared service.
*
* @return \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheClearer'.\DIRECTORY_SEPARATOR.'CacheClearerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheClearer'.\DIRECTORY_SEPARATOR.'Psr6CacheClearer.php';
return $container->services['cache.app_clearer'] = new \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer(['cache.app' => ($container->services['cache.app'] ?? $container->load('getCache_AppService'))]);
}
}
-44
View File
@@ -1,44 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCache_AppService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'cache.app' shared service.
*
* @return \Symfony\Component\Cache\Adapter\FilesystemAdapter
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'CacheItemPoolInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AdapterInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'ResettableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'AbstractAdapterTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'ContractsTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AbstractAdapter.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'PruneableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'FilesystemCommonTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'FilesystemTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'FilesystemAdapter.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Marshaller'.\DIRECTORY_SEPARATOR.'MarshallerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Marshaller'.\DIRECTORY_SEPARATOR.'DefaultMarshaller.php';
$container->services['cache.app'] = $instance = new \Symfony\Component\Cache\Adapter\FilesystemAdapter('NaLhWLN+Xk', 0, ($container->targetDir.''.'/pools/app'), new \Symfony\Component\Cache\Marshaller\DefaultMarshaller(NULL, true));
$instance->setLogger(($container->privates['logger'] ?? self::getLoggerService($container)));
return $instance;
}
}
@@ -1,36 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCache_App_TaggableService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'cache.app.taggable' shared service.
*
* @return \Symfony\Component\Cache\Adapter\TagAwareAdapter
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'CacheItemPoolInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AdapterInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'TagAwareAdapterInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'TagAwareCacheInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'PruneableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'ResettableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'ContractsTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'TagAwareAdapter.php';
return $container->privates['cache.app.taggable'] = new \Symfony\Component\Cache\Adapter\TagAwareAdapter(($container->services['cache.app'] ?? $container->load('getCache_AppService')));
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCache_GlobalClearerService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'cache.global_clearer' shared service.
*
* @return \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheClearer'.\DIRECTORY_SEPARATOR.'CacheClearerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheClearer'.\DIRECTORY_SEPARATOR.'Psr6CacheClearer.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'CacheItemPoolInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AdapterInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'ResettableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'ArrayAdapter.php';
return $container->services['cache.global_clearer'] = new \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer(['cache.app' => ($container->services['cache.app'] ?? $container->load('getCache_AppService')), 'cache.system' => ($container->services['cache.system'] ?? $container->load('getCache_SystemService')), 'cache.validator_expression_language' => ($container->services['cache.validator_expression_language'] ?? $container->load('getCache_ValidatorExpressionLanguageService')), 'cache.doctrine.orm.default.result' => ($container->privates['cache.doctrine.orm.default.result'] ??= new \Symfony\Component\Cache\Adapter\ArrayAdapter()), 'cache.doctrine.orm.default.query' => ($container->privates['cache.doctrine.orm.default.query'] ??= new \Symfony\Component\Cache\Adapter\ArrayAdapter()), 'cache.security_is_granted_attribute_expression_language' => ($container->services['cache.security_is_granted_attribute_expression_language'] ?? $container->load('getCache_SecurityIsGrantedAttributeExpressionLanguageService'))]);
}
}
@@ -1,34 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCache_SecurityIsGrantedAttributeExpressionLanguageService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'cache.security_is_granted_attribute_expression_language' shared service.
*
* @return \Symfony\Component\Cache\Adapter\AdapterInterface
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'CacheItemPoolInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AdapterInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'ResettableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'AbstractAdapterTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'ContractsTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AbstractAdapter.php';
return $container->services['cache.security_is_granted_attribute_expression_language'] = \Symfony\Component\Cache\Adapter\AbstractAdapter::createSystemCache('7-WF8WwGVY', 0, $container->getParameter('container.build_id'), ($container->targetDir.''.'/pools/system'), ($container->privates['logger'] ?? self::getLoggerService($container)));
}
}
@@ -1,26 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCache_SystemClearerService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'cache.system_clearer' shared service.
*
* @return \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheClearer'.\DIRECTORY_SEPARATOR.'CacheClearerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheClearer'.\DIRECTORY_SEPARATOR.'Psr6CacheClearer.php';
return $container->services['cache.system_clearer'] = new \Symfony\Component\HttpKernel\CacheClearer\Psr6CacheClearer(['cache.system' => ($container->services['cache.system'] ?? $container->load('getCache_SystemService')), 'cache.validator_expression_language' => ($container->services['cache.validator_expression_language'] ?? $container->load('getCache_ValidatorExpressionLanguageService')), 'cache.security_is_granted_attribute_expression_language' => ($container->services['cache.security_is_granted_attribute_expression_language'] ?? $container->load('getCache_SecurityIsGrantedAttributeExpressionLanguageService'))]);
}
}
@@ -1,34 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCache_SystemService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'cache.system' shared service.
*
* @return \Symfony\Component\Cache\Adapter\AdapterInterface
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'CacheItemPoolInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AdapterInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'ResettableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'AbstractAdapterTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'ContractsTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AbstractAdapter.php';
return $container->services['cache.system'] = \Symfony\Component\Cache\Adapter\AbstractAdapter::createSystemCache('+4VOWgVa18', 0, $container->getParameter('container.build_id'), ($container->targetDir.''.'/pools/system'), ($container->privates['logger'] ?? self::getLoggerService($container)));
}
}
@@ -1,34 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getCache_ValidatorExpressionLanguageService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the public 'cache.validator_expression_language' shared service.
*
* @return \Symfony\Component\Cache\Adapter\AdapterInterface
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'CacheItemPoolInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AdapterInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'ResettableInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'psr'.\DIRECTORY_SEPARATOR.'log'.\DIRECTORY_SEPARATOR.'src'.\DIRECTORY_SEPARATOR.'LoggerAwareTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'AbstractAdapterTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache-contracts'.\DIRECTORY_SEPARATOR.'CacheTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Traits'.\DIRECTORY_SEPARATOR.'ContractsTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'cache'.\DIRECTORY_SEPARATOR.'Adapter'.\DIRECTORY_SEPARATOR.'AbstractAdapter.php';
return $container->services['cache.validator_expression_language'] = \Symfony\Component\Cache\Adapter\AbstractAdapter::createSystemCache('njivdr+jA5', 0, $container->getParameter('container.build_id'), ($container->targetDir.''.'/pools/system'), ($container->privates['logger'] ?? self::getLoggerService($container)));
}
}
@@ -1,26 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConfigBuilder_WarmerService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'config_builder.warmer' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\CacheWarmer\ConfigBuilderCacheWarmer
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheWarmer'.\DIRECTORY_SEPARATOR.'CacheWarmerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'CacheWarmer'.\DIRECTORY_SEPARATOR.'ConfigBuilderCacheWarmer.php';
return $container->privates['config_builder.warmer'] = new \Symfony\Bundle\FrameworkBundle\CacheWarmer\ConfigBuilderCacheWarmer(($container->services['kernel'] ?? $container->get('kernel', 1)), ($container->privates['logger'] ?? self::getLoggerService($container)));
}
}
File diff suppressed because one or more lines are too long
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_AboutService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.about' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\AboutCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'AboutCommand.php';
$container->privates['console.command.about'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\AboutCommand();
$instance->setName('about');
$instance->setDescription('Display information about the current project');
return $instance;
}
}
@@ -1,32 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_AssetsInstallService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.assets_install' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\AssetsInstallCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'AssetsInstallCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'filesystem'.\DIRECTORY_SEPARATOR.'Filesystem.php';
$container->privates['console.command.assets_install'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\AssetsInstallCommand(($container->privates['filesystem'] ??= new \Symfony\Component\Filesystem\Filesystem()), \dirname(__DIR__, 4));
$instance->setName('assets:install');
$instance->setDescription('Install bundle\'s web assets under a public directory');
return $instance;
}
}
@@ -1,36 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_CacheClearService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.cache_clear' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'CacheClearCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheClearer'.\DIRECTORY_SEPARATOR.'CacheClearerInterface.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'CacheClearer'.\DIRECTORY_SEPARATOR.'ChainCacheClearer.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'filesystem'.\DIRECTORY_SEPARATOR.'Filesystem.php';
$container->privates['console.command.cache_clear'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand(new \Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer(new RewindableGenerator(function () use ($container) {
yield 0 => ($container->services['cache.system_clearer'] ?? $container->load('getCache_SystemClearerService'));
}, 1)), ($container->privates['filesystem'] ??= new \Symfony\Component\Filesystem\Filesystem()));
$instance->setName('cache:clear');
$instance->setDescription('Clear the cache');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_CachePoolClearService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.cache_pool_clear' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\CachePoolClearCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'CachePoolClearCommand.php';
$container->privates['console.command.cache_pool_clear'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CachePoolClearCommand(($container->services['cache.global_clearer'] ?? $container->load('getCache_GlobalClearerService')), ['cache.app', 'cache.system', 'cache.validator', 'cache.serializer', 'cache.annotations', 'cache.property_info', 'cache.validator_expression_language', 'cache.doctrine.orm.default.result', 'cache.doctrine.orm.default.query', 'cache.security_expression_language', 'cache.security_is_granted_attribute_expression_language']);
$instance->setName('cache:pool:clear');
$instance->setDescription('Clear cache pools');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_CachePoolDeleteService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.cache_pool_delete' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\CachePoolDeleteCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'CachePoolDeleteCommand.php';
$container->privates['console.command.cache_pool_delete'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CachePoolDeleteCommand(($container->services['cache.global_clearer'] ?? $container->load('getCache_GlobalClearerService')), ['cache.app', 'cache.system', 'cache.validator', 'cache.serializer', 'cache.annotations', 'cache.property_info', 'cache.validator_expression_language', 'cache.doctrine.orm.default.result', 'cache.doctrine.orm.default.query', 'cache.security_expression_language', 'cache.security_is_granted_attribute_expression_language']);
$instance->setName('cache:pool:delete');
$instance->setDescription('Delete an item from a cache pool');
return $instance;
}
}
@@ -1,35 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_CachePoolInvalidateTagsService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.cache_pool_invalidate_tags' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\CachePoolInvalidateTagsCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'CachePoolInvalidateTagsCommand.php';
$container->privates['console.command.cache_pool_invalidate_tags'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CachePoolInvalidateTagsCommand(new \Symfony\Component\DependencyInjection\Argument\ServiceLocator($container->getService ??= $container->getService(...), [
'cache.app' => ['privates', 'cache.app.taggable', 'getCache_App_TaggableService', true],
], [
'cache.app' => 'Symfony\\Component\\Cache\\Adapter\\TagAwareAdapter',
]));
$instance->setName('cache:pool:invalidate-tags');
$instance->setDescription('Invalidate cache tags for all or a specific pool');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_CachePoolListService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.cache_pool_list' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\CachePoolListCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'CachePoolListCommand.php';
$container->privates['console.command.cache_pool_list'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CachePoolListCommand(['cache.app', 'cache.system', 'cache.validator', 'cache.serializer', 'cache.annotations', 'cache.property_info', 'cache.validator_expression_language', 'cache.doctrine.orm.default.result', 'cache.doctrine.orm.default.query', 'cache.security_expression_language', 'cache.security_is_granted_attribute_expression_language']);
$instance->setName('cache:pool:list');
$instance->setDescription('List available cache pools');
return $instance;
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_CachePoolPruneService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.cache_pool_prune' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\CachePoolPruneCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'CachePoolPruneCommand.php';
$container->privates['console.command.cache_pool_prune'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CachePoolPruneCommand(new RewindableGenerator(function () use ($container) {
yield 'cache.app' => ($container->services['cache.app'] ?? $container->load('getCache_AppService'));
}, 1));
$instance->setName('cache:pool:prune');
$instance->setDescription('Prune cache pools');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_CacheWarmupService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.cache_warmup' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'CacheWarmupCommand.php';
$container->privates['console.command.cache_warmup'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\CacheWarmupCommand(($container->services['cache_warmer'] ?? $container->load('getCacheWarmerService')));
$instance->setName('cache:warmup');
$instance->setDescription('Warm up an empty cache');
return $instance;
}
}
@@ -1,34 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_ConfigDebugService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.config_debug' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\ConfigDebugCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'BuildDebugContainerTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'ContainerDebugCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'AbstractConfigCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'ConfigDebugCommand.php';
$container->privates['console.command.config_debug'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\ConfigDebugCommand();
$instance->setName('debug:config');
$instance->setDescription('Dump the current configuration for an extension');
return $instance;
}
}
@@ -1,34 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_ConfigDumpReferenceService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.config_dump_reference' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\ConfigDumpReferenceCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'BuildDebugContainerTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'ContainerDebugCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'AbstractConfigCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'ConfigDumpReferenceCommand.php';
$container->privates['console.command.config_dump_reference'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\ConfigDumpReferenceCommand();
$instance->setName('config:dump-reference');
$instance->setDescription('Dump the default configuration for an extension');
return $instance;
}
}
@@ -1,32 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_ContainerDebugService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.container_debug' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\ContainerDebugCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'BuildDebugContainerTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'ContainerDebugCommand.php';
$container->privates['console.command.container_debug'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\ContainerDebugCommand();
$instance->setName('debug:container');
$instance->setDescription('Display current services for an application');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_ContainerLintService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.container_lint' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\ContainerLintCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'ContainerLintCommand.php';
$container->privates['console.command.container_lint'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\ContainerLintCommand();
$instance->setName('lint:container');
$instance->setDescription('Ensure that arguments injected into services match type declarations');
return $instance;
}
}
@@ -1,34 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_DebugAutowiringService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.debug_autowiring' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\DebugAutowiringCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'BuildDebugContainerTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'ContainerDebugCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'DebugAutowiringCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Debug'.\DIRECTORY_SEPARATOR.'FileLinkFormatter.php';
$container->privates['console.command.debug_autowiring'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\DebugAutowiringCommand(NULL, ($container->privates['debug.file_link_formatter'] ??= new \Symfony\Component\HttpKernel\Debug\FileLinkFormatter($container->getEnv('default::SYMFONY_IDE'))));
$instance->setName('debug:autowiring');
$instance->setDescription('List classes/interfaces you can use for autowiring');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_DotenvDebugService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.dotenv_debug' shared service.
*
* @return \Symfony\Component\Dotenv\Command\DebugCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'dotenv'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'DebugCommand.php';
$container->privates['console.command.dotenv_debug'] = $instance = new \Symfony\Component\Dotenv\Command\DebugCommand('dev', \dirname(__DIR__, 4));
$instance->setName('debug:dotenv');
$instance->setDescription('Lists all dotenv files with variables and values');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_EventDispatcherDebugService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.event_dispatcher_debug' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\EventDispatcherDebugCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'EventDispatcherDebugCommand.php';
$container->privates['console.command.event_dispatcher_debug'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\EventDispatcherDebugCommand(($container->privates['.service_locator.Oannbdp'] ?? $container->load('get_ServiceLocator_OannbdpService')));
$instance->setName('debug:event-dispatcher');
$instance->setDescription('Display configured listeners for an application');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_MailerTestService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.mailer_test' shared service.
*
* @return \Symfony\Component\Mailer\Command\MailerTestCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'mailer'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'MailerTestCommand.php';
$container->privates['console.command.mailer_test'] = $instance = new \Symfony\Component\Mailer\Command\MailerTestCommand(($container->privates['mailer.transports'] ?? $container->load('getMailer_TransportsService')));
$instance->setName('mailer:test');
$instance->setDescription('Test Mailer transports by sending an email');
return $instance;
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_RouterDebugService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.router_debug' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\RouterDebugCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'BuildDebugContainerTrait.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'RouterDebugCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'http-kernel'.\DIRECTORY_SEPARATOR.'Debug'.\DIRECTORY_SEPARATOR.'FileLinkFormatter.php';
$container->privates['console.command.router_debug'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\RouterDebugCommand(($container->services['router'] ?? self::getRouterService($container)), ($container->privates['debug.file_link_formatter'] ??= new \Symfony\Component\HttpKernel\Debug\FileLinkFormatter($container->getEnv('default::SYMFONY_IDE'))));
$instance->setName('debug:router');
$instance->setDescription('Display current routes for an application');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_RouterMatchService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.router_match' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\RouterMatchCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'RouterMatchCommand.php';
$container->privates['console.command.router_match'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\RouterMatchCommand(($container->services['router'] ?? self::getRouterService($container)), new RewindableGenerator(fn () => new \EmptyIterator(), 0));
$instance->setName('router:match');
$instance->setDescription('Help debug routes by simulating a path info match');
return $instance;
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_SecretsDecryptToLocalService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.secrets_decrypt_to_local' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\SecretsDecryptToLocalCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'SecretsDecryptToLocalCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'AbstractVault.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'DotenvVault.php';
$container->privates['console.command.secrets_decrypt_to_local'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\SecretsDecryptToLocalCommand(($container->privates['secrets.vault'] ?? $container->load('getSecrets_VaultService')), ($container->privates['secrets.local_vault'] ??= new \Symfony\Bundle\FrameworkBundle\Secrets\DotenvVault((\dirname(__DIR__, 4).'/.env.dev.local'))));
$instance->setName('secrets:decrypt-to-local');
$instance->setDescription('Decrypt all secrets and stores them in the local vault');
return $instance;
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_SecretsEncryptFromLocalService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.secrets_encrypt_from_local' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\SecretsEncryptFromLocalCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'SecretsEncryptFromLocalCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'AbstractVault.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'DotenvVault.php';
$container->privates['console.command.secrets_encrypt_from_local'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\SecretsEncryptFromLocalCommand(($container->privates['secrets.vault'] ?? $container->load('getSecrets_VaultService')), ($container->privates['secrets.local_vault'] ??= new \Symfony\Bundle\FrameworkBundle\Secrets\DotenvVault((\dirname(__DIR__, 4).'/.env.dev.local'))));
$instance->setName('secrets:encrypt-from-local');
$instance->setDescription('Encrypt all local secrets to the vault');
return $instance;
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_SecretsGenerateKeyService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.secrets_generate_key' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\SecretsGenerateKeysCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'SecretsGenerateKeysCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'AbstractVault.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'DotenvVault.php';
$container->privates['console.command.secrets_generate_key'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\SecretsGenerateKeysCommand(($container->privates['secrets.vault'] ?? $container->load('getSecrets_VaultService')), ($container->privates['secrets.local_vault'] ??= new \Symfony\Bundle\FrameworkBundle\Secrets\DotenvVault((\dirname(__DIR__, 4).'/.env.dev.local'))));
$instance->setName('secrets:generate-keys');
$instance->setDescription('Generate new encryption keys');
return $instance;
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_SecretsListService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.secrets_list' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\SecretsListCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'SecretsListCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'AbstractVault.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'DotenvVault.php';
$container->privates['console.command.secrets_list'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\SecretsListCommand(($container->privates['secrets.vault'] ?? $container->load('getSecrets_VaultService')), ($container->privates['secrets.local_vault'] ??= new \Symfony\Bundle\FrameworkBundle\Secrets\DotenvVault((\dirname(__DIR__, 4).'/.env.dev.local'))));
$instance->setName('secrets:list');
$instance->setDescription('List all secrets');
return $instance;
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_SecretsRemoveService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.secrets_remove' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\SecretsRemoveCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'SecretsRemoveCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'AbstractVault.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'DotenvVault.php';
$container->privates['console.command.secrets_remove'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\SecretsRemoveCommand(($container->privates['secrets.vault'] ?? $container->load('getSecrets_VaultService')), ($container->privates['secrets.local_vault'] ??= new \Symfony\Bundle\FrameworkBundle\Secrets\DotenvVault((\dirname(__DIR__, 4).'/.env.dev.local'))));
$instance->setName('secrets:remove');
$instance->setDescription('Remove a secret from the vault');
return $instance;
}
}
@@ -1,33 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_SecretsSetService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.secrets_set' shared service.
*
* @return \Symfony\Bundle\FrameworkBundle\Command\SecretsSetCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'SecretsSetCommand.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'AbstractVault.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'framework-bundle'.\DIRECTORY_SEPARATOR.'Secrets'.\DIRECTORY_SEPARATOR.'DotenvVault.php';
$container->privates['console.command.secrets_set'] = $instance = new \Symfony\Bundle\FrameworkBundle\Command\SecretsSetCommand(($container->privates['secrets.vault'] ?? $container->load('getSecrets_VaultService')), ($container->privates['secrets.local_vault'] ??= new \Symfony\Bundle\FrameworkBundle\Secrets\DotenvVault((\dirname(__DIR__, 4).'/.env.dev.local'))));
$instance->setName('secrets:set');
$instance->setDescription('Set a secret in the vault');
return $instance;
}
}
@@ -1,31 +0,0 @@
<?php
namespace ContainerKNyDmfm;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/**
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getConsole_Command_ValidatorDebugService extends DMD_LaLigaApi_KernelDevDebugContainer
{
/**
* Gets the private 'console.command.validator_debug' shared service.
*
* @return \Symfony\Component\Validator\Command\DebugCommand
*/
public static function do($container, $lazyLoad = true)
{
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'console'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'Command.php';
include_once \dirname(__DIR__, 4).''.\DIRECTORY_SEPARATOR.'vendor'.\DIRECTORY_SEPARATOR.'symfony'.\DIRECTORY_SEPARATOR.'validator'.\DIRECTORY_SEPARATOR.'Command'.\DIRECTORY_SEPARATOR.'DebugCommand.php';
$container->privates['console.command.validator_debug'] = $instance = new \Symfony\Component\Validator\Command\DebugCommand(($container->privates['validator'] ?? $container->load('getValidatorService')));
$instance->setName('debug:validator');
$instance->setDescription('Display validation constraints for classes');
return $instance;
}
}

Some files were not shown because too many files have changed in this diff Show More