PHP Class Piwik\Updater\Migration

Afficher le fichier Open project: piwik/piwik Class Usage Examples

Méthodes publiques

Méthode Description
__toString ( ) : string Get a description of what the migration actually does. For example "Activate plugin $plugin" or "SELECT * FROM table".
exec ( ) : void Executes the migration.
shouldIgnoreError ( Exception $exception ) : boolean Decides whether an error should be ignored or not.

Method Details

__toString() abstract public méthode

Get a description of what the migration actually does. For example "Activate plugin $plugin" or "SELECT * FROM table".
abstract public __toString ( ) : string
Résultat string

exec() abstract public méthode

Executes the migration.
abstract public exec ( ) : void
Résultat void

shouldIgnoreError() public méthode

Decides whether an error should be ignored or not.
public shouldIgnoreError ( Exception $exception ) : boolean
$exception Exception
Résultat boolean