public static function toSearch(string $modelName, array $params = [], string $action = 'index')
    {
        $formName = Inflector::id2camel($modelName) . 'Search';

        return static::toAction($modelName, [$formName => $params], $action);
    }