WebKernel
in package
implements
KernelContract
Uses
Microable
Table of Contents
Interfaces
Properties
- $macros : array<string|int, mixed>
- $app : PioniaApplication
- $corsWorker : PioniaCors
Methods
- __call() : mixed
- Dynamically handle calls to the class.
- __callStatic() : mixed
- Dynamically handle calls to the class.
- __construct() : mixed
- container() : Container
- flushMacros() : void
- Remove all the macros we had registered
- handle() : mixed
- hasMacro() : bool
- Check if we have a method in the balonables
- macro() : void
- Add a new mixable to the macros
- mixin() : void
- Mix another object into the class.
- authenticationBackendWorker() : Request
- This will run until any of the backends successfully authenticates the user
Properties
$macros
protected
static array<string|int, mixed>
$macros
= []
$app
private
PioniaApplication
$app
$corsWorker
private
PioniaCors
$corsWorker
Methods
__call()
Dynamically handle calls to the class.
public
__call(string $method, array<string|int, mixed> $parameters) : mixed
Parameters
- $method : string
- $parameters : array<string|int, mixed>
Tags
__callStatic()
Dynamically handle calls to the class.
public
static __callStatic(string $method, array<string|int, mixed> $parameters) : mixed
Parameters
- $method : string
- $parameters : array<string|int, mixed>
Tags
__construct()
public
__construct(PioniaApplication $application) : mixed
Parameters
- $application : PioniaApplication
container()
public
container() : Container
Return values
ContainerflushMacros()
Remove all the macros we had registered
public
static flushMacros() : void
handle()
public
handle(Request $request, array<string|int, mixed> $routes) : mixed
Parameters
- $request : Request
- $routes : array<string|int, mixed>
hasMacro()
Check if we have a method in the balonables
public
static hasMacro(string $name) : bool
Parameters
- $name : string
Return values
boolmacro()
Add a new mixable to the macros
public
static macro(string $key, $value) : void
Parameters
mixin()
Mix another object into the class.
public
static mixin(object $mixin[, bool $replace = true ]) : void
Parameters
- $mixin : object
- $replace : bool = true
Tags
authenticationBackendWorker()
This will run until any of the backends successfully authenticates the user
private
authenticationBackendWorker(Request $request) : Request
or until all the backends are complete
Parameters
- $request : Request