Habari\URL::ajax PHP Метод

ajax() публичный статический Метод

Helper method for ajax rule
public static ajax ( string $context, array | string | object $args = [] ) : string
$context string The context of the ajax rule
$args array | string | object The arguments to pass to the rule's builder
Результат string The resultant URL
    public static function ajax($context, $args = array())
    {
        $args['context'] = $context;
        return URL::get('ajax', $args);
    }