NullDecorator.php 651 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

/*
 * © 2016 IRSTEA
 * Guillaume Perréal <guillaume.perreal@irstea.fr>
 * Tous droits réservés.
 */

namespace Irstea\PlantUmlBundle\Model\Decorator;

use Irstea\PlantUmlBundle\Model\ClassVisitorInterface;
use Irstea\PlantUmlBundle\Model\DecoratorInterface;
use Irstea\PlantUmlBundle\Model\NodeInterface;

/**
 * Description of NullDecorator
 *
 * @author Guillaume Perréal <guillaume.perreal@irstea.fr>
 */
class NullDecorator implements DecoratorInterface
{
    use \Irstea\PlantUmlBundle\Utils\Singleton;

    public function decorate($className, NodeInterface $node, ClassVisitorInterface $visitor)
    {
        return $this;
    }
}