src/StaticFilter.php
public static function filter($alias, $value)
    {
        $filter = self::create($alias);
        return $filter->filter($value);
    }
public static function filter($alias, $value)
    {
        $filter = self::create($alias);
        return $filter->filter($value);
    }
public static function filter ( $ alias , $ value ) { $ filter = self :: create ( $ alias ) ; return $ filter -> filter ( $ value ) ; }
Creates the filter in the alias or class name and applies it to the
provided value.

@param string $alias Filter alias or FQ class name
@param mixed  $value Value to filter

@throws InvalidArgumentException If the class does not exists or if
class does not implements the FilterInterface.

@return mixed
Creates the filter in the alias or class name and applies it to the provided value .