CiviEnvBuilder
class CiviEnvBuilder
Class CiviEnvBuilder
Provides a fluent interface for tracking a set of steps. By computing and storing a signature for the list steps, we can determine whether to (a) do nothing with the list or (b) reapply all the steps.
Properties
protected | $name |
Methods
No description
No description
No description
No description
Require that an extension be installed.
Require an extension be installed (identified by its directory).
Require an extension be uninstalled.
Require an extension be uninstalled (identified by its directory).
No description
No description
No description
No description
Determine if there's been a change in the preferred configuration.
No description
Details
at line 30
__construct($name)
at line 34
addStep(StepInterface $step)
at line 40
callback($callback, $signature = NULL)
at line 44
sql($sql)
at line 48
sqlFile($file)
at line 59
CiviEnvBuilder
install(string|array $names)
Require that an extension be installed.
at line 72
CiviEnvBuilder
installMe(string $dir)
Require an extension be installed (identified by its directory).
at line 83
CiviEnvBuilder
uninstall(string|array $names)
Require an extension be uninstalled.
at line 96
CiviEnvBuilder
uninstallMe(string $dir)
Require an extension be uninstalled (identified by its directory).
at line 100
protected
assertValid()
at line 111
protected string
getTargetSignature()
at line 126
protected string
getSavedSignature()
at line 143
protected
setSavedSignature($newSignature)
at line 170
CiviEnvBuilder
apply(bool $force = FALSE)
Determine if there's been a change in the preferred configuration.
If the preferred-configuration matches the last test, keep it. Otherwise, destroy and recreate.