En raison du déménagement des baies serveurs, les services gitlab.irstea.fr et mattermost.irstea.fr seront interrompus le samedi 2 octobre 2021 au matin. Ils devraient revenir à la normale dans la journée.

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

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

parent 72c714b0
......@@ -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)
......
......@@ -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;
......
......@@ -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;
/**
......
......@@ -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;
/**
......
Markdown is supported
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