Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
plantuml-bundle
Commits
3bdfbc13
Commit
3bdfbc13
authored
Mar 09, 2016
by
Guillaume Perréal
Browse files
Déplace les implémentations de Namespace dans leur namespace.
parent
72c714b0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Model/ClassVisitor.php
View file @
3bdfbc13
...
...
@@ -8,6 +8,8 @@
namespace
Irstea\PlantUmlBundle\Model
;
use
Irstea\PlantUmlBundle\Model\Filter\AcceptAllFilter
;
use
Irstea\PlantUmlBundle\Model\Namespace_\RootNamespace
;
use
Irstea\PlantUmlBundle\Model\Node\Class_
;
use
Irstea\PlantUmlBundle\Model\Node\Interface_
;
use
Irstea\PlantUmlBundle\Model\Node\Trait_
;
...
...
@@ -36,11 +38,11 @@ class ClassVisitor implements ClassVisitorInterface, WritableInterface
public
function
__construct
(
ClassFilterInterface
$filter
=
null
)
{
$this
->
rootNamespace
=
new
RootNamespace
();
$this
->
filter
=
$filter
?:
Filter\
AcceptAllFilter
::
instance
();
$this
->
filter
=
$filter
?:
AcceptAllFilter
::
instance
();
}
/**
* @param
\Irstea\PlantUmlBundle\Model\
ClassFilterInterface $filter
* @param ClassFilterInterface $filter
* @return self
*/
public
function
setClassFilter
(
ClassFilterInterface
$filter
)
...
...
Model/AbstractNamespace.php
→
Model/
Namespace_/
AbstractNamespace.php
View file @
3bdfbc13
...
...
@@ -6,8 +6,10 @@
* Tous droits réservés.
*/
namespace
Irstea\PlantUmlBundle\Model
;
namespace
Irstea\PlantUmlBundle\Model
\Namespace_
;
use
Irstea\PlantUmlBundle\Model\NamespaceInterface
;
use
Irstea\PlantUmlBundle\Model\NodeInterface
;
use
Irstea\PlantUmlBundle\Writer\WritableInterface
;
use
Irstea\PlantUmlBundle\Writer\WriterInterface
;
...
...
Model/Namespace_.php
→
Model/Namespace_
/Namespace_
.php
View file @
3bdfbc13
...
...
@@ -6,8 +6,10 @@
* Tous droits réservés.
*/
namespace
Irstea\PlantUmlBundle\Model
;
namespace
Irstea\PlantUmlBundle\Model
\Namespace_
;
use
Irstea\PlantUmlBundle\Model\ArrowInterface
;
use
Irstea\PlantUmlBundle\Model\NamespaceInterface
;
use
Irstea\PlantUmlBundle\Writer\WriterInterface
;
/**
...
...
Model/RootNamespace.php
→
Model/
Namespace_/
RootNamespace.php
View file @
3bdfbc13
...
...
@@ -6,8 +6,9 @@
* Tous droits réservés.
*/
namespace
Irstea\PlantUmlBundle\Model
;
namespace
Irstea\PlantUmlBundle\Model
\Namespace_
;
use
Irstea\PlantUmlBundle\Model\ArrowInterface
;
use
Irstea\PlantUmlBundle\Writer\WriterInterface
;
/**
...
...
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