19declare(strict_types=1);
49 throw new \LogicException(
"Agent has no config.");
Builds a Color from either hex- or rgb values.
A objective collection is a objective that is achieved once all subobjectives are achieved.
A non-objective, nothing to do to achieve it...
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
__construct(protected Factory $refinery)
hasConfig()
Does this agent require a configuration?
getNamedObjectives(?Config $config=null)
Gets all named objectives The keys of the returned array are the commands.
getMigrations()
Get a named map of migrations available for this Agent.
getStatusObjective(Storage $storage)
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
getInstallObjective(?Config $config=null)
Get the goals the agent wants to achieve on setup.
This class attempt to achieve a set of database update steps.
A agent is some component that performs part of the setup process.
A configuration for the setup.
An objective is a desired state of the system that is supposed to be created by the setup.