19declare(strict_types=1);
getInstallObjective(?Config $config=null)
Get the goals the agent wants to achieve on setup.
hasConfig()
Does this agent require a configuration?
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
getArrayToConfigTransformation()
Agents must be able to tell how to create a configuration from a nested array.
getMigrations()
Get a named map of migrations available for this Agent.
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
__construct(private readonly Refinery $refinery)
getNamedObjectives(?Config $config=null)
Gets all named objectives The keys of the returned array are the commands.
getStatusObjective(Storage $storage)
A non-objective, nothing to do to achieve it...
A configuration for the setup.
An objective is a desired state of the system that is supposed to be created by the setup.