PHP Class Piwik\Updater\Migration

ファイルを表示 Open project: piwik/piwik Class Usage Examples

Public Methods

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

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

exec() abstract public method

Executes the migration.
abstract public exec ( ) : void
return void

shouldIgnoreError() public method

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