19declare(strict_types=1);
__construct(private readonly Refinery $refinery)
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.
getInstallObjective(?Config $config=null)
Get the goals the agent wants to achieve on setup.
hasConfig()
Does this agent require a configuration?
getNamedObjectives(?Config $config=null)
Gets all named objectives The keys of the returned array are the commands.
getBuildObjective()
Get the goal the agent wants to achieve to build artifacts.
getStatusObjective(Storage $storage)
getUpdateObjective(?Config $config=null)
Get the goal the agent wants to achieve on update.
A non-objective, nothing to do to achieve it...
This class attempt to achieve a set of database update steps.
A configuration for the setup.
An objective is a desired state of the system that is supposed to be created by the setup.