TransitionConfig
in package
This class is automatically generated to help in creating a config.
Table of Contents
Properties
Methods
- __construct() : mixed
- from() : $this
- guard() : $this
- An expression to block the transition
- metadata() : $this
- name() : $this
- to() : $this
- toArray() : array<string|int, mixed>
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$from
private
mixed
$from
$guard
private
mixed
$guard
$metadata
private
mixed
$metadata
$name
private
mixed
$name
$to
private
mixed
$to
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
from()
public
from(mixed $value) : $this
Parameters
- $value : mixed
Return values
$thisguard()
An expression to block the transition
public
guard(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thismetadata()
public
metadata(ParamConfigurator|array<int, ParamConfigurator|mixed> $value) : $this
Parameters
- $value : ParamConfigurator|array<int, ParamConfigurator|mixed>
Return values
$thisname()
public
name(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisto()
public
to(mixed $value) : $this
Parameters
- $value : mixed
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>