AcceptAllFilter.php 510 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
 */

namespace Irstea\PlantUmlBundle\Model\Filter;

use Irstea\PlantUmlBundle\Model\ClassFilterInterface;
10
use ReflectionClass;
11
12

/**
Guillaume Perréal's avatar
CS.    
Guillaume Perréal committed
13
 * Description of AcceptAllFilter.
14
15
16
 */
class AcceptAllFilter implements ClassFilterInterface
{
17
18
    use \Irstea\PlantUmlBundle\Utils\Singleton;

19
    public function accept(ReflectionClass $class)
20
21
22
    {
        return true;
    }
23
24
25
26

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