19declare(strict_types=1);
This describes some datastructure in terms of standard data structures such as primitives,...
An Activity is an action on the domain layer action of a component.
getInputDescription(FieldFactory $f)
getName()
Shall return classname of the Activity, wrapped in Name.
perform(mixed $parameters)
This shall perform the activity.
getOutputDescription(Description\Factory $f)
isAllowedToPerform(int $usr_id, mixed $parameters)
This shall check if the given user is allowed to perform the activity based on business rules of this...
maybePerformAs(InputFactory $input_factory, int $usr_id, array $raw_parameters)
Grinds the $raw_parameters through the input description, checks if the users is allowed to perform t...
A result encapsulates a value or an error and simplifies the handling of those.