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
f8fbdf4c
Commit
f8fbdf4c
authored
Jul 04, 2019
by
Guillaume Perréal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore les graphes de la config dont les noms commençent par un point (.).
parent
537e5266
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
README.md
README.md
+3
-0
src/DependencyInjection/IrsteaPlantUmlExtension.php
src/DependencyInjection/IrsteaPlantUmlExtension.php
+3
-0
No files found.
README.md
View file @
f8fbdf4c
...
@@ -46,6 +46,9 @@ Pour chaque vue, il faut définir :
...
@@ -46,6 +46,9 @@ Pour chaque vue, il faut définir :
Cela correspondent respectiviement aux sections
`sources`
,
`layout`
et
`decoration`
de la configuration de chaque graphe.
Cela correspondent respectiviement aux sections
`sources`
,
`layout`
et
`decoration`
de la configuration de chaque graphe.
*Nota bene*
: les graphes dont le nom commence par un point (
`.`
) sont ignorés. Cela permet de définir des modèles
grâce aux systèmes d'ancres YAML.
Sources
Sources
-------
-------
...
...
src/DependencyInjection/IrsteaPlantUmlExtension.php
View file @
f8fbdf4c
...
@@ -35,6 +35,9 @@ class IrsteaPlantUmlExtension extends Extension
...
@@ -35,6 +35,9 @@ class IrsteaPlantUmlExtension extends Extension
$filterBuilder
=
new
ClassFilterBuilder
(
$container
);
$filterBuilder
=
new
ClassFilterBuilder
(
$container
);
foreach
(
$config
[
'graphs'
]
as
$key
=>
$graph
)
{
foreach
(
$config
[
'graphs'
]
as
$key
=>
$graph
)
{
if
(
strpos
(
$key
,
'.'
)
===
0
)
{
continue
;
}
$id
=
"irstea_plant_uml.graph.
$key
"
;
$id
=
"irstea_plant_uml.graph.
$key
"
;
$builder
=
new
GraphDefinitionBuilder
(
$container
,
$id
,
$graph
,
$filterBuilder
);
$builder
=
new
GraphDefinitionBuilder
(
$container
,
$id
,
$graph
,
$filterBuilder
);
$container
->
setDefinition
(
$id
,
$builder
->
build
());
$container
->
setDefinition
(
$id
,
$builder
->
build
());
...
...
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