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
- ReferenceIndexUpdatedPrerequisite constructor
- 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()
ReferenceIndexUpdatedPrerequisite constructor
public
__construct() : mixed
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