DatabaseUpdatedPrerequisite extends DatabaseUpdatedPrerequisite

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

Deprecated

since v14.0, will be removed in TYPO34 v15.0. Use \TYPO3\CMS\Core\Upgrades\DatabaseUpdatedPrerequisite instead.

Internal
Tags
todo

Make DatabaseUpdatedPrerequisite final in TYPO3 v15.

phpstan-ignore

class.extendsFinalByPhpDoc

Attributes
#[Autoconfigure]
$public: true

Table of Contents

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