DatabaseUpdatedPrerequisite

class \TYPO3\CMS\Install\Updates\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

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

Return values

bool

setOutput()

Setter injection for output into upgrade wizards

public setOutput(OutputInterface $output) : void

Parameters

$output : OutputInterface
On this page