NullDecorator.php 663 Bytes
Newer Older
1
<?php declare(strict_types=1);
2
/*
Guillaume Perréal's avatar
CS.    
Guillaume Perréal committed
3
4
 * Copyright (C) 2016-2017 IRSTEA
 * All rights reserved.
5
6
7
8
9
10
11
 */

namespace Irstea\PlantUmlBundle\Model\Decorator;

use Irstea\PlantUmlBundle\Model\ClassVisitorInterface;
use Irstea\PlantUmlBundle\Model\DecoratorInterface;
use Irstea\PlantUmlBundle\Model\NodeInterface;
12
use ReflectionClass;
13
14

/**
Guillaume Perréal's avatar
CS.    
Guillaume Perréal committed
15
 * Description of NullDecorator.
16
17
18
19
20
 */
class NullDecorator implements DecoratorInterface
{
    use \Irstea\PlantUmlBundle\Utils\Singleton;

21
    public function decorate(ReflectionClass $class, NodeInterface $node, ClassVisitorInterface $visitor)
22
23
24
    {
        return $this;
    }
25
26
27
28

    public function toConfig(array &$conf)
    {
    }
29
}