DatabaseUpdatedPrerequisite implements PrerequisiteInterface, ChattyInterface

Prerequisite for upgrade wizards to ensure the database is up-to-date

Internal

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
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

Methods

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
bool

getTitle()

Get speaking name of this prerequisite

public getTitle() : string
Return values
string

isFulfilled()

Is this prerequisite met?

public isFulfilled() : bool

Checks whether this prerequisite is fulfilled. If it is not, ensure should be called to fulfill it.

Return values
bool

setOutput()

Setter injection for output into upgrade wizards

public setOutput(OutputInterface $output) : void
Parameters
$output : OutputInterface

        
On this page

Search results