Class Flo
Workflow fetcher. It helps you to manage your workflow, such as get the verificators, groups, step, etc.
- Docolight\Support\Fluent implements ArrayAccess, JsonSerializable, Docolight\Http\Contracts\Arrayable
- Docoflow\Flo implements Docoflow\Contracts\ValidationStatus
Methods summary
public
|
|
protected
|
|
protected
|
|
protected
|
|
public static
|
|
public
array|
|
|
public
null|
|
|
public
array|
|
|
public
array|
|
#
groupsInStep( integer $step )
Get group based on your step. If you have 4 steps in current workflow, and you want to get a group only in the second step, you may call: |
public
array|
|
#
verificators( )
Get all verificators in your workflow. Will return empty array if there's no verificator in your current workflow. |
public
array|
|
#
verificatorsInStep( integer $step )
Get verificators in certain step. If you have 4 steps in your workflow, and you want to get a list of verificators only in 3rd step: |
public
array|
|
|
public
null|Carbon\Carbon
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Methods inherited from Docolight\Support\Fluent
__get()
,
__isset()
,
__set()
,
__toString()
,
__unset()
,
attributes()
,
castToArray()
,
clear()
,
except()
,
fill()
,
get()
,
has()
,
jsonSerialize()
,
make()
,
nuke()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
,
only()
,
remove()
,
set()
,
toJson()
Constants summary
Constants inherited from Docoflow\Contracts\ValidationStatus
Properties summary
protected
Carbon\Carbon
|
$validUntil
Workflow date validity. |
|
protected
|
$workflow
Workflow Model |
|
protected
|
$steps
Step entities |
|
protected
array
|
$jsonAble
Array that frendly with json representation. |
|
protected
|
$groups
Group entities |
|
protected
|
$verificators
Verificator entities |
|
protected
array
|
$groupedVerificators
A 'cache' to store grouped verificators based on their step |
|
protected
array
|
$bootstrapped
Boostrapped entities |