Table of Contents
-
$app
: App
-
$context
: mixed
-
$endpoints
: array<string|int, mixed>
-
$initialized
: bool
-
__call()
: mixed
-
__construct()
: mixed
-
__get()
: mixed
-
__invoke()
: mixed
-
addEndPoint()
: mixed
-
init()
: mixed
-
process()
: mixed
-
getRegex()
: mixed
-
initialize()
: mixed
-
isPathMatching()
: mixed
$app
public
App
$app
$context
public
mixed
$context
$endpoints
protected
array<string|int, mixed>
$endpoints
= []
$initialized
protected
bool
$initialized
= false
__call()
public
__call(mixed $name, mixed $arguments) : mixed
Parameters
-
$name
: mixed
-
-
$arguments
: mixed
-
Return values
mixed
—
__construct()
public
__construct(App $app[, mixed $context = null ]) : mixed
Parameters
-
$app
: App
-
-
$context
: mixed
= null
-
Return values
mixed
—
__get()
public
__get(mixed $name) : mixed
Parameters
-
$name
: mixed
-
Return values
mixed
—
__invoke()
public
__invoke(mixed $helper) : mixed
Parameters
-
$helper
: mixed
-
Return values
mixed
—
addEndPoint()
public
addEndPoint(string $path[, array<string|int, mixed> $methods = [] ]) : mixed
Parameters
-
$path
: string
-
-
$methods
: array<string|int, mixed>
= []
-
Return values
mixed
—
init()
public
init() : mixed
Return values
mixed
—
process()
public
process(string $path[, string $method = 'GET' ][, string|null $apiKey = null ]) : mixed
Parameters
-
$path
: string
-
-
$method
: string
= 'GET'
-
-
$apiKey
: string|null
= null
-
Return values
mixed
—
getRegex()
protected
getRegex(mixed $pattern) : mixed
Parameters
-
$pattern
: mixed
-
Return values
mixed
—
initialize()
protected
initialize() : mixed
Return values
mixed
—
isPathMatching()
protected
isPathMatching(mixed $path, mixed $pattern[, mixed &$params = null ]) : mixed
Parameters
-
$path
: mixed
-
-
$pattern
: mixed
-
-
$params
: mixed
= null
-
Return values
mixed
—