Hook
extends Facade
in package
Class Hook
Tags
Table of Contents
- $app : App
- $resolvedInstance : array<string|int, mixed>
- __callStatic() : mixed
- add() :
- clearResolvedInstances() : mixed
- clear
- exec() :
- exists() :
- list() :
- remove() :
- setFacadeApplication() : mixed
- {@inheritDoc}
- getFacadeAccessor() : string
- getFacadeRoot() : object|stdClass
- resolveFacadeInstance() : object
Properties
$app
protected
static App
$app
$resolvedInstance
protected
static array<string|int, mixed>
$resolvedInstance
Methods
__callStatic()
public
static __callStatic( $method, $args) : mixed
Parameters
Tags
Return values
mixed —add()
public
static add(string $name, callable $callable, int $priority = 50) :
Parameters
- $name : string
- $callable : callable
- $priority = 50 : int
Return values
—clearResolvedInstances()
clear
public
static clearResolvedInstances() : mixed
Return values
mixed —exec()
public
static exec(string $name, mixed $output) :
Parameters
- $name : string
- $output : mixed
Return values
—exists()
public
static exists(mixed $name) :
Parameters
- $name : mixed
Return values
—list()
public
static list() :
Return values
—remove()
public
static remove(mixed $name) :
Parameters
- $name : mixed
Return values
—setFacadeApplication()
{@inheritDoc}
public
static setFacadeApplication(App $app) : mixed
Parameters
- $app : App
Return values
mixed —getFacadeAccessor()
protected
static getFacadeAccessor() : string
Return values
string —getFacadeRoot()
protected
static getFacadeRoot() : object|stdClass
Return values
object|stdClass —resolveFacadeInstance()
protected
static resolveFacadeInstance(string $mainClass) : object
Parameters
- $mainClass : string