src/StaticFilter.php
protected static function getClass($alias)
    {
        if (array_key_exists($alias, self::$filters)) {
            return self::$filters[$alias];
        }

        if (!class_exists($alias)) {
            throw new InvalidArgumentException(
                "Class {$alias} does not exists."
            );
        }
        return $alias;
    }
protected static function getClass($alias)
    {
        if (array_key_exists($alias, self::$filters)) {
            return self::$filters[$alias];
        }

        if (!class_exists($alias)) {
            throw new InvalidArgumentException(
                "Class {$alias} does not exists."
            );
        }
        return $alias;
    }
protected static function getClass ( $ alias ) { if ( array_key_exists ( $ alias , self :: $ filters ) ) { return self :: $ filters [ $ alias ] ; } if ( ! class_exists ( $ alias ) ) { throw new InvalidArgumentException ( "Class {$alias} does not exists." ) ; } return $ alias ; }
Returns the class name for provided alias

@param string $alias The FQ class name or one of known filter alias
@return string

@throws InvalidArgumentException If the class does not exists.
Returns the class name for provided alias