AcceptAllFilter.php 587 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
<?php

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

namespace Irstea\PlantUmlBundle\Model\Filter;

use Irstea\PlantUmlBundle\Model\ClassFilterInterface;
12
use ReflectionClass;
13
14
15
16
17
18
19
20

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

23
    public function accept(ReflectionClass $class)
24
25
26
    {
        return true;
    }
27
28
29
30

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