Documentation

HttpMethod

Table of Contents

any()  : PendingRoute
define()  : PendingRoute
delete()  : PendingRoute
get()  : PendingRoute
options()  : PendingRoute
patch()  : PendingRoute
post()  : PendingRoute
put()  : PendingRoute

Methods

any()

public static any(string $endpoint, array<string|int, mixed>|callable $action) : PendingRoute
Parameters
$endpoint : string
$action : array<string|int, mixed>|callable
Return values
PendingRoute

define()

public static define(string $method, string $endpoint, array<string|int, mixed>|callable $action) : PendingRoute
Parameters
$method : string
$endpoint : string
$action : array<string|int, mixed>|callable
Return values
PendingRoute

delete()

public static delete(string $endpoint, array<string|int, mixed>|callable $action) : PendingRoute
Parameters
$endpoint : string
$action : array<string|int, mixed>|callable
Return values
PendingRoute

get()

public static get(string $endpoint, array<string|int, mixed>|callable $action) : PendingRoute
Parameters
$endpoint : string
$action : array<string|int, mixed>|callable
Return values
PendingRoute

options()

public static options(string $endpoint, array<string|int, mixed>|callable $action) : PendingRoute
Parameters
$endpoint : string
$action : array<string|int, mixed>|callable
Return values
PendingRoute

patch()

public static patch(string $endpoint, array<string|int, mixed>|callable $action) : PendingRoute
Parameters
$endpoint : string
$action : array<string|int, mixed>|callable
Return values
PendingRoute

post()

public static post(string $endpoint, array<string|int, mixed>|callable $action) : PendingRoute
Parameters
$endpoint : string
$action : array<string|int, mixed>|callable
Return values
PendingRoute

put()

public static put(string $endpoint, array<string|int, mixed>|callable $action) : PendingRoute
Parameters
$endpoint : string
$action : array<string|int, mixed>|callable
Return values
PendingRoute

Search results