Commit 3bdfbc13 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Déplace les implémentations de Namespace dans leur namespace.

No related merge requests found
Showing with 12 additions and 5 deletions
+12 -5
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
namespace Irstea\PlantUmlBundle\Model; 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\Class_;
use Irstea\PlantUmlBundle\Model\Node\Interface_; use Irstea\PlantUmlBundle\Model\Node\Interface_;
use Irstea\PlantUmlBundle\Model\Node\Trait_; use Irstea\PlantUmlBundle\Model\Node\Trait_;
...@@ -36,11 +38,11 @@ class ClassVisitor implements ClassVisitorInterface, WritableInterface ...@@ -36,11 +38,11 @@ class ClassVisitor implements ClassVisitorInterface, WritableInterface
public function __construct(ClassFilterInterface $filter = null) public function __construct(ClassFilterInterface $filter = null)
{ {
$this->rootNamespace = new RootNamespace(); $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 * @return self
*/ */
public function setClassFilter(ClassFilterInterface $filter) public function setClassFilter(ClassFilterInterface $filter)
......
...@@ -6,8 +6,10 @@ ...@@ -6,8 +6,10 @@
* Tous droits réservés. * 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\WritableInterface;
use Irstea\PlantUmlBundle\Writer\WriterInterface; use Irstea\PlantUmlBundle\Writer\WriterInterface;
......
...@@ -6,8 +6,10 @@ ...@@ -6,8 +6,10 @@
* Tous droits réservés. * 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; use Irstea\PlantUmlBundle\Writer\WriterInterface;
/** /**
......
...@@ -6,8 +6,9 @@ ...@@ -6,8 +6,9 @@
* Tous droits réservés. * Tous droits réservés.
*/ */
namespace Irstea\PlantUmlBundle\Model; namespace Irstea\PlantUmlBundle\Model\Namespace_;
use Irstea\PlantUmlBundle\Model\ArrowInterface;
use Irstea\PlantUmlBundle\Writer\WriterInterface; use Irstea\PlantUmlBundle\Writer\WriterInterface;
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment