Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dbp-relay-server-template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Relay API Gateway
dbp-relay-server-template
Commits
b0576487
Commit
b0576487
authored
3 years ago
by
Reiter, Christoph
Browse files
Options
Downloads
Patches
Plain Diff
Update recipe for symfony/framework-bundle
parent
d1e58927
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Kernel.php
+0
-27
0 additions, 27 deletions
src/Kernel.php
symfony.lock
+8
-8
8 additions, 8 deletions
symfony.lock
with
8 additions
and
35 deletions
src/Kernel.php
+
0
−
27
View file @
b0576487
...
...
@@ -5,36 +5,9 @@ declare(strict_types=1);
namespace
App
;
use
Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait
;
use
Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator
;
use
Symfony\Component\HttpKernel\Kernel
as
BaseKernel
;
use
Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator
;
class
Kernel
extends
BaseKernel
{
use
MicroKernelTrait
;
protected
function
configureContainer
(
ContainerConfigurator
$container
):
void
{
$container
->
import
(
'../config/{packages}/*.yaml'
);
$container
->
import
(
'../config/{packages}/'
.
$this
->
environment
.
'/*.yaml'
);
if
(
is_file
(
\dirname
(
__DIR__
)
.
'/config/services.yaml'
))
{
$container
->
import
(
'../config/services.yaml'
);
$container
->
import
(
'../config/{services}_'
.
$this
->
environment
.
'.yaml'
);
}
elseif
(
is_file
(
$path
=
\dirname
(
__DIR__
)
.
'/config/services.php'
))
{
(
require
$path
)(
$container
->
withPath
(
$path
),
$this
);
}
}
protected
function
configureRoutes
(
RoutingConfigurator
$routes
):
void
{
$routes
->
import
(
'../config/{routes}/'
.
$this
->
environment
.
'/*.yaml'
);
$routes
->
import
(
'../config/{routes}/*.yaml'
);
if
(
is_file
(
\dirname
(
__DIR__
)
.
'/config/routes.yaml'
))
{
$routes
->
import
(
'../config/routes.yaml'
);
}
elseif
(
is_file
(
$path
=
\dirname
(
__DIR__
)
.
'/config/routes.php'
))
{
(
require
$path
)(
$routes
->
withPath
(
$path
),
$this
);
}
}
}
This diff is collapsed.
Click to expand it.
symfony.lock
+
8
−
8
View file @
b0576487
...
...
@@ -379,22 +379,22 @@
]
},
"symfony/framework-bundle": {
"version": "5.
3
",
"version": "5.
4
",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"version": "5.
3
",
"ref": "
414ba00ad43fa71be42c7906a551f1831716b03c
"
"version": "5.
4
",
"ref": "
d4131812e20853626928e73d3effef44014944c0
"
},
"files": [
"config/services.yaml",
"config/routes/framework.yaml",
"config/preload.php",
"config/packages/cache.yaml",
"config/packages/framework.yaml",
"config/preload.php",
"config/routes/framework.yaml",
"config/services.yaml",
"public/index.php",
"src/
Kernel.php
",
"src/
Controller/.gitignore
"
"src/
Controller/.gitignore
",
"src/
Kernel.php
"
]
},
"symfony/http-client": {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment