19declare(strict_types=1);
61 throw new \LogicException(
'This agent does not support configuration');
A objective collection is a objective that is achieved once all subobjectives are achieved.
A non-objective, nothing to do to achieve it...
getInstallObjective(?Config $config=null)
Get the goals the agent wants to achieve on setup.
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
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.
hasConfig()
Does this agent require a configuration?
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
getStatusObjective(Storage $storage)
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.