ReferenceIndexUpdatedPrerequisite implements PrerequisiteInterface, ChattyInterface
FinalYes
ReferenceIndex Prerequisite
Defines that the reference index needs to be up-to-date before an upgrade wizard may be run
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Interfaces
- PrerequisiteInterface
- UpgradeWizard Prerequisites
- ChattyInterface
- Is this upgradeWizard chatty aka does it need to output things?
Methods
- __construct() : mixed
- ensure() : bool
- Updates the reference index
- getTitle() : string
- Get speaking name of this prerequisite
- isFulfilled() : bool
- Checks whether there are reference index updates to be done
- setOutput() : void
- Setter injection for output into upgrade wizards
Methods
__construct()
public
__construct(ReferenceIndex $referenceIndex) : mixed
Parameters
- $referenceIndex : ReferenceIndex
ensure()
Updates the reference index
public
ensure() : bool
Return values
boolgetTitle()
Get speaking name of this prerequisite
public
getTitle() : string
Return values
stringisFulfilled()
Checks whether there are reference index updates to be done
public
isFulfilled() : bool
Return values
boolsetOutput()
Setter injection for output into upgrade wizards
public
setOutput(OutputInterface $output) : void
Parameters
- $output : OutputInterface