PHP Class Prose\BaseCleanup

Author: Michael Heap ([email protected])
Inheritance: extends Prose
Afficher le fichier Open project: datasift/storyplayer

Protected Properties

Свойство Type Description
$key string key The key of the table we're working with
$table BaseObject The actual table that we're working with

Méthodes publiques

Méthode Description
__construct ( StoryTeller $st, array $args = [] ) : parent::__construct __construct
shutdown ( ) : void shutdown
startup ( ) : void startup

Méthodes protégées

Méthode Description
getTable ( )
removeTablesIfEmpty ( ) : void removeTableIfEmpty

Method Details

__construct() public méthode

__construct
public __construct ( StoryTeller $st, array $args = [] ) : parent::__construct
$st DataSift\Storyplayer\PlayerLib\StoryTeller The StoryTeller object
$args array Any arguments to be used in this Prose module
Résultat parent::__construct

getTable() protected méthode

protected getTable ( )

removeTablesIfEmpty() protected méthode

Remove an entry in the runtime config if it is empty
protected removeTablesIfEmpty ( ) : void
Résultat void

shutdown() abstract public méthode

The function to run after stories are run
abstract public shutdown ( ) : void
Résultat void

startup() abstract public méthode

The function to run before stories are run
abstract public startup ( ) : void
Résultat void

Property Details

$key protected_oe property

key The key of the table we're working with
protected string $key
Résultat string

$table protected_oe property

The actual table that we're working with
protected BaseObject $table
Résultat BaseObject