FilterBag
extends Bag
Table of Contents
-
$container
: Container
-
$definitions
: array<string|int, mixed>
-
$entries
: array<string|int, mixed>
-
add()
: FilterBag
-
container()
: void
-
created()
: void
-
get()
: BagEntryInterface
-
get()
:
-
getEntries()
: array<string|int, mixed>
-
getEntries()
:
-
getSchemaJson()
: array<string|int, mixed>
-
has()
: bool
-
remove()
: Bag
-
set()
: Bag
-
setDefinition()
: Bag
-
toSchemaJson()
: array<string|int, mixed>
$container
protected
Container
$container
$definitions
private
array<string|int, mixed>
$definitions
= []
$entries
private
array<string|int, mixed>
$entries
= []
add()
public
add(string $name, mixed $classOrCallback) : FilterBag
Parameters
-
$name
: string
-
-
$classOrCallback
: mixed
-
Return values
FilterBag
—
container()
public
container(Container $container) : void
Parameters
-
$container
: Container
-
Return values
void
—
created()
public
created() : void
Return values
void
—
get()
public
get(string $name[, Closure $callback = null ]) : BagEntryInterface
Parameters
-
$name
: string
-
-
$callback
: Closure
= null
-
Return values
BagEntryInterface
—
get()
public
get(string $name) :
Parameters
-
$name
: string
-
Return values
—
getEntries()
public
getEntries() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getEntries()
public
getEntries() :
Return values
—
getSchemaJson()
public
getSchemaJson() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
has()
public
has(string $name) : bool
Parameters
-
$name
: string
-
Return values
bool
—
remove()
public
remove(string $name) : Bag
Parameters
-
$name
: string
-
Return values
Bag
—
set()
public
set(string $name, BagEntryInterface $value) : Bag
Parameters
-
$name
: string
-
-
$value
: BagEntryInterface
-
Return values
Bag
—
setDefinition()
public
setDefinition(string $name, mixed $classOrCallback[, Closure $createCallback = null ]) : Bag
Parameters
-
$name
: string
-
-
$classOrCallback
: mixed
-
-
$createCallback
: Closure
= null
-
Return values
Bag
—
toSchemaJson()
public
toSchemaJson() : array<string|int, mixed>
Return values
array<string|int, mixed>
—