DatabaseUpdatedPrerequisite implements PrerequisiteInterface, ChattyInterface
Prerequisite for upgrade wizards to ensure the database is up-to-date
Table of Contents
Interfaces
- PrerequisiteInterface
- UpgradeWizard Prerequisites
- ChattyInterface
- Is this upgradeWizard chatty aka does it need to output things?
Properties
- $output : OutputInterface
- $upgradeWizardsService : UpgradeWizardsService
Methods
- __construct() : mixed
- ensure() : bool
- Ensure this prerequisite is fulfilled
- getTitle() : string
- Get speaking name of this prerequisite
- isFulfilled() : bool
- Is this prerequisite met?
- setOutput() : void
- Setter injection for output into upgrade wizards
Properties
$output
protected
OutputInterface
$output
$upgradeWizardsService
protected
UpgradeWizardsService
$upgradeWizardsService
Methods
__construct()
public
__construct() : mixed
ensure()
Ensure this prerequisite is fulfilled
public
ensure() : bool
Gets called if "isFulfilled" returns false and should ensure the prerequisite
Returns true on success, false on error
Return values
boolgetTitle()
Get speaking name of this prerequisite
public
getTitle() : string
Return values
stringisFulfilled()
Is this prerequisite met?
public
isFulfilled() : bool
Return values
boolsetOutput()
Setter injection for output into upgrade wizards
public
setOutput(OutputInterface $output) : void
Parameters
- $output : OutputInterface