ReferenceIndexUpdatedPrerequisite implements PrerequisiteInterface, ChattyInterface
ReferenceIndex Prerequisite
Defines that the reference index needs to be up-to-date before an upgrade wizard may be run
Table of Contents
Interfaces
- PrerequisiteInterface
- UpgradeWizard Prerequisites
- ChattyInterface
- Is this upgradeWizard chatty aka does it need to output things?
Properties
- $output : OutputInterface
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
Properties
$output
protected
OutputInterface
$output
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