Documentation

Hook extends Facade
in package

Class Hook

Tags
see
Hook::add()
see
Hook::remove()
see
Hook::exists()
see
Hook::list()
see
Hook::exec()
see
Hook

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

$resolvedInstance

protected static array<string|int, mixed> $resolvedInstance

Methods

__callStatic()

public static __callStatic( $method,  $args) : mixed
Parameters
$method :
$args :
Tags
throws
Exception
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
Return values
object

Search results