Transformer/BaseTransformer.php
protected function filters(Builder $url, $args)
    {
        foreach ($args as $arg) {
            $arguments = (is_array($arg['arguments'])) ? $arg['arguments'] : array($arg['arguments']);
            array_unshift($arguments, $arg['name']);
            call_user_func_array(array($url, 'addFilter'), $arguments);
        }
    }
protected function filters(Builder $url, $args)
    {
        foreach ($args as $arg) {
            $arguments = (is_array($arg['arguments'])) ? $arg['arguments'] : array($arg['arguments']);
            array_unshift($arguments, $arg['name']);
            call_user_func_array(array($url, 'addFilter'), $arguments);
        }
    }
Apply filters

@param \Thumbor\Url\Builder $url
@param array $args

@return void