CorrectorFactory
extends Factory
Table of Contents
Properties
-
$_collection
: array<string|int, mixed>
-
$instance
: object
Methods
-
attach()
: void
-
call()
: string|false
-
detach()
: void
-
getCollection()
: array<string|int, mixed>
-
singleton()
: static
$_collection
protected
array<string|int, mixed>
$_collection
= []
$instance
protected
static object
$instance
attach()
public
attach(string $ns, mixed $corrector) : void
Parameters
-
$ns
: string
-
-
$corrector
: mixed
-
call()
public
call(string $method, string $txt[, mixed $params = [] ][, bool $magic_call = false ]) : string|false
Parameters
-
$method
: string
-
-
$txt
: string
-
-
$params
: mixed
= []
-
-
$magic_call
: bool
= false
-
Return values
string|false
detach()
public
detach(string $ns) : void
Parameters
-
$ns
: string
-
getCollection()
public
getCollection() : array<string|int, mixed>
Return values
array<string|int, mixed>
singleton()
public
static singleton() : static
-
static
-