Maslosoft Mangan API
Trait ScenariosTrait
This trait provides implementation of scenarios feature. It works with
ScenarioManager
, but only if class using it
also implements ScenariosInterface
.
Use this to enchance models with scenarios, this allows triggering different validators depending on scenario, or to be used with any custom feature.
Direct Known Users
Indirect Known Users
Maslosoft\Mangan\Document
,
Maslosoft\Mangan\Example\ExampleAddress
,
Maslosoft\Mangan\Example\ExampleUser
,
Maslosoft\Mangan\Model\File
,
Maslosoft\Mangan\Model\Image
,
Maslosoft\Mangan\Model\Trash
,
Maslosoft\Mangan\Model\TrashItem
See:
Maslosoft\Mangan\Interfaces\ScenariosInterface
Author: Piotr Maselkowski
Located at Traits/ScenariosTrait.php
Methods summary
public
string
|
|
public
|