a-blog cms PHP API Reference

HookFactory extends Factory
in package

Table of Contents

Properties

$_collection  : array<string|int, mixed>
$instance  : object

Methods

attach()  : void
call()  : array<string|int, mixed>
detach()  : void
getCollection()  : array<string|int, mixed>
getHook()  : bool|object
singleton()  : static

Properties

$_collection

protected array<string|int, mixed> $_collection = []

Methods

attach()

public attach(string $ns, mixed $corrector) : void
Parameters
$ns : string
$corrector : mixed

call()

public call(string $timingMethod[, mixed $params = [] ]) : array<string|int, mixed>
Parameters
$timingMethod : string
$params : mixed = []
Return values
array<string|int, mixed>

detach()

public detach(string $ns) : void
Parameters
$ns : string

getCollection()

public getCollection() : array<string|int, mixed>
Return values
array<string|int, mixed>

getHook()

public getHook(string $ns) : bool|object
Parameters
$ns : string
Return values
bool|object

singleton()

public static singleton() : static
Tags
static
Return values
static

        
On this page

Search results