Update Flex endpoint

This commit is contained in:
github-action[bot]
2021-11-12 14:52:32 +00:00
parent e105920c3a
commit d36ab15b52
52 changed files with 2155 additions and 2109 deletions
+128 -128
View File
@@ -74,6 +74,134 @@
],
"executable": false
},
"src/Kernel.php": {
"contents": [
"<?php",
"",
"namespace App;",
"",
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
"use Symfony\\Component\\Config\\Resource\\FileResource;",
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
"",
"class Kernel extends BaseKernel",
"{",
" use MicroKernelTrait;",
"",
" const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
"",
" public function getCacheDir()",
" {",
" return $this->getProjectDir().'/var/cache/'.$this->environment;",
" }",
"",
" public function getLogDir()",
" {",
" return $this->getProjectDir().'/var/log';",
" }",
"",
" public function registerBundles()",
" {",
" $contents = require $this->getProjectDir().'/config/bundles.php';",
" foreach ($contents as $class => $envs) {",
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
" yield new $class();",
" }",
" }",
" }",
"",
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)",
" {",
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
" // Feel free to remove the \"container.autowiring.strict_mode\" parameter",
" // if you are using symfony/dependency-injection 4.0+ as it's the default behavior",
" $container->setParameter('container.autowiring.strict_mode', true);",
" $container->setParameter('container.dumper.inline_class_loader', true);",
" $confDir = $this->getProjectDir().'/config';",
"",
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
" }",
"",
" protected function configureRoutes(RouteCollectionBuilder $routes)",
" {",
" $confDir = $this->getProjectDir().'/config';",
"",
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
" }",
"}",
""
],
"executable": false
},
"src/Controller/.gitignore": {
"contents": [
""
],
"executable": false
},
"config/packages/framework.yaml": {
"contents": [
"framework:",
" secret: '%env(APP_SECRET)%'",
" #csrf_protection: true",
" #http_method_override: true",
"",
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
" # Remove or comment this section to explicitly disable session support.",
" session:",
" handler_id: null",
"",
" #esi: true",
" #fragments: true",
" php_errors:",
" log: true",
""
],
"executable": false
},
"config/packages/cache.yaml": {
"contents": [
"framework:",
" cache:",
" # Unique name of your app: used to compute stable namespaces for cache keys.",
" #prefix_seed: your_vendor_name/app_name",
"",
" # The \"app\" cache stores to the filesystem by default.",
" # The data in this cache should persist between deploys.",
" # Other options include:",
"",
" # Redis",
" #app: cache.adapter.redis",
" #default_redis_provider: redis://localhost",
"",
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
" #app: cache.adapter.apcu",
"",
" # Namespaced pools use the above \"app\" backend by default",
" #pools:",
" #my.dedicated.cache: null",
""
],
"executable": false
},
"config/packages/test/framework.yaml": {
"contents": [
"framework:",
" test: true",
" session:",
" storage_id: session.storage.mock_file",
""
],
"executable": false
},
"config/services.yaml": {
"contents": [
"# This file is the entry point to configure your own services.",
@@ -168,134 +296,6 @@
""
],
"executable": false
},
"config/packages/cache.yaml": {
"contents": [
"framework:",
" cache:",
" # Unique name of your app: used to compute stable namespaces for cache keys.",
" #prefix_seed: your_vendor_name/app_name",
"",
" # The \"app\" cache stores to the filesystem by default.",
" # The data in this cache should persist between deploys.",
" # Other options include:",
"",
" # Redis",
" #app: cache.adapter.redis",
" #default_redis_provider: redis://localhost",
"",
" # APCu (not recommended with heavy random-write workloads as memory fragmentation can cause perf issues)",
" #app: cache.adapter.apcu",
"",
" # Namespaced pools use the above \"app\" backend by default",
" #pools:",
" #my.dedicated.cache: null",
""
],
"executable": false
},
"config/packages/framework.yaml": {
"contents": [
"framework:",
" secret: '%env(APP_SECRET)%'",
" #csrf_protection: true",
" #http_method_override: true",
"",
" # Enables session support. Note that the session will ONLY be started if you read or write from it.",
" # Remove or comment this section to explicitly disable session support.",
" session:",
" handler_id: null",
"",
" #esi: true",
" #fragments: true",
" php_errors:",
" log: true",
""
],
"executable": false
},
"config/packages/test/framework.yaml": {
"contents": [
"framework:",
" test: true",
" session:",
" storage_id: session.storage.mock_file",
""
],
"executable": false
},
"src/Kernel.php": {
"contents": [
"<?php",
"",
"namespace App;",
"",
"use Symfony\\Bundle\\FrameworkBundle\\Kernel\\MicroKernelTrait;",
"use Symfony\\Component\\Config\\Loader\\LoaderInterface;",
"use Symfony\\Component\\Config\\Resource\\FileResource;",
"use Symfony\\Component\\DependencyInjection\\ContainerBuilder;",
"use Symfony\\Component\\HttpKernel\\Kernel as BaseKernel;",
"use Symfony\\Component\\Routing\\RouteCollectionBuilder;",
"",
"class Kernel extends BaseKernel",
"{",
" use MicroKernelTrait;",
"",
" const CONFIG_EXTS = '.{php,xml,yaml,yml}';",
"",
" public function getCacheDir()",
" {",
" return $this->getProjectDir().'/var/cache/'.$this->environment;",
" }",
"",
" public function getLogDir()",
" {",
" return $this->getProjectDir().'/var/log';",
" }",
"",
" public function registerBundles()",
" {",
" $contents = require $this->getProjectDir().'/config/bundles.php';",
" foreach ($contents as $class => $envs) {",
" if ($envs[$this->environment] ?? $envs['all'] ?? false) {",
" yield new $class();",
" }",
" }",
" }",
"",
" protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader)",
" {",
" $container->addResource(new FileResource($this->getProjectDir().'/config/bundles.php'));",
" // Feel free to remove the \"container.autowiring.strict_mode\" parameter",
" // if you are using symfony/dependency-injection 4.0+ as it's the default behavior",
" $container->setParameter('container.autowiring.strict_mode', true);",
" $container->setParameter('container.dumper.inline_class_loader', true);",
" $confDir = $this->getProjectDir().'/config';",
"",
" $loader->load($confDir.'/{packages}/*'.self::CONFIG_EXTS, 'glob');",
" $loader->load($confDir.'/{packages}/'.$this->environment.'/*'.self::CONFIG_EXTS, 'glob');",
" $loader->load($confDir.'/{services}'.self::CONFIG_EXTS, 'glob');",
" $loader->load($confDir.'/{services}_'.$this->environment.self::CONFIG_EXTS, 'glob');",
" }",
"",
" protected function configureRoutes(RouteCollectionBuilder $routes)",
" {",
" $confDir = $this->getProjectDir().'/config';",
"",
" $routes->import($confDir.'/{routes}/'.$this->environment.'/*'.self::CONFIG_EXTS, '/', 'glob');",
" $routes->import($confDir.'/{routes}/*'.self::CONFIG_EXTS, '/', 'glob');",
" $routes->import($confDir.'/{routes}'.self::CONFIG_EXTS, '/', 'glob');",
" }",
"}",
""
],
"executable": false
},
"src/Controller/.gitignore": {
"contents": [
""
],
"executable": false
}
},
"ref": "6b7854b4c2866b32bc86e98977e2ead4669fa9a5"