ActionParams
extends FieldBag
Table of Contents
-
$container
: Container
-
$original
: FieldBag|null
-
$definitions
: array<string|int, mixed>
-
$entries
: array<string|int, mixed>
-
allow()
: FieldBag
-
attribute()
: FieldBag
-
container()
: void
-
created()
: void
-
get()
:
-
get()
: BagEntryInterface
-
getEntries()
:
-
getEntries()
: array<string|int, mixed>
-
getEntrySchemaJson()
: array<string|int, mixed>|null
-
getRelation()
: Relation
-
getSchemaJson()
: array<string|int, mixed>
-
has()
: bool
-
original()
: FieldBag
-
relation()
: FieldBag
-
remove()
: Bag
-
set()
: Bag
-
setDefinition()
: Bag
-
toSchemaJson()
: array<string|int, mixed>
$container
protected
Container
$container
$original
protected
FieldBag|null
$original
= null
$definitions
private
array<string|int, mixed>
$definitions
= []
$entries
private
array<string|int, mixed>
$entries
= []
allow()
public
allow(array<string|int, mixed> $names) : FieldBag
Parameters
-
$names
: array<string|int, mixed>
-
Return values
FieldBag
—
attribute()
public
attribute(string $name, mixed $classOrCallback) : FieldBag
Parameters
-
$name
: string
-
-
$classOrCallback
: mixed
-
Return values
FieldBag
—
container()
public
container(Container $container) : void
Parameters
-
$container
: Container
-
Return values
void
—
created()
public
created() : void
Return values
void
—
get()
public
get(string $name) :
Parameters
-
$name
: string
-
Return values
—
get()
public
get(string $name[, Closure $callback = null ]) : BagEntryInterface
Parameters
-
$name
: string
-
-
$callback
: Closure
= null
-
Return values
BagEntryInterface
—
getEntries()
public
getEntries() :
Return values
—
getEntries()
public
getEntries() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getEntrySchemaJson()
public
getEntrySchemaJson(Field $field, TypeRegistry $typeRegistry) : array<string|int, mixed>|null
Parameters
-
$field
: Field
-
-
$typeRegistry
: TypeRegistry
-
Return values
array<string|int, mixed>|null
—
getRelation()
public
getRelation(string $name[, Closure $callback = null ]) : Relation
Parameters
-
$name
: string
-
-
$callback
: Closure
= null
-
Return values
Relation
—
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
—
original()
public
original(FieldBag $fieldBag) : FieldBag
Parameters
-
$fieldBag
: FieldBag
-
Return values
FieldBag
—
relation()
public
relation(string $name, string $RelatedTypeClass, mixed $classOrCallback) : FieldBag
Parameters
-
$name
: string
-
-
$RelatedTypeClass
: string
-
-
$classOrCallback
: mixed
-
Return values
FieldBag
—
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>
—