Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
plantuml-bundle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Pôle IS
Bundles Symfony 2
plantuml-bundle
Commits
78d693f8
Commit
78d693f8
authored
Nov 20, 2018
by
Guillaume Perréal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adaptation au DI de Symfony4.
Les services étant privés par défaut, il faut les déclarer publics.
parent
7785bebb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/DependencyInjection/Builder/GraphDefinitionBuilder.php
src/DependencyInjection/Builder/GraphDefinitionBuilder.php
+4
-1
No files found.
src/DependencyInjection/Builder/GraphDefinitionBuilder.php
View file @
78d693f8
...
...
@@ -93,7 +93,10 @@ class GraphDefinitionBuilder
$visitor
=
$this
->
setDefinition
(
'visitor'
,
ClassVisitor
::
class
,
$decorator
,
$layoutFilter
,
$namespace
);
return
new
Definition
(
Graph
::
class
,
[
$visitor
,
$source
]);
$def
=
new
Definition
(
Graph
::
class
,
[
$visitor
,
$source
]);
$def
->
setLazy
(
true
);
$def
->
setPublic
(
true
);
return
$def
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment