An error occurred while loading the file. Please try again.
-
Guillaume Perréal authored72c714b0
<?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;
/**
* Description of AcceptAllFilter
*
* @author Guillaume Perréal <guillaume.perreal@irstea.fr>
*/
class AcceptAllFilter implements ClassFilterInterface
{
public function accept($className)
{
return true;
}
/**
* @var self
*/
static private $instance;
/**
* @return self
*/
static public function instance()
{
if (!static::$instance) {
static::$instance = new static();
}
return static::$instance;
}
}