protected function parse($old, $query, Model $model, &$transformed)
    {
        $key = $old;
        $value = $model->$old;

        foreach (explode('|', $query) as $command) {
            list($function, $args) = explode(':', $command);

            $args = array_merge([&$key, &$value, $model], explode(',', $args));

            call_user_func_array([$this, $function], $args);
        }

        return $transformed[$key] = $value;
    }