PHP Класс Prose\BaseCleanup

Автор: Michael Heap ([email protected])
Наследование: extends Prose
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$key string key The key of the table we're working with
$table BaseObject The actual table that we're working with

Открытые методы

Метод Описание
__construct ( StoryTeller $st, array $args = [] ) : parent::__construct __construct
shutdown ( ) : void shutdown
startup ( ) : void startup

Защищенные методы

Метод Описание
getTable ( )
removeTablesIfEmpty ( ) : void removeTableIfEmpty

Описание методов

__construct() публичный Метод

__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
Результат parent::__construct

getTable() защищенный Метод

protected getTable ( )

removeTablesIfEmpty() защищенный Метод

Remove an entry in the runtime config if it is empty
protected removeTablesIfEmpty ( ) : void
Результат void

shutdown() абстрактный публичный Метод

The function to run after stories are run
abstract public shutdown ( ) : void
Результат void

startup() абстрактный публичный Метод

The function to run before stories are run
abstract public startup ( ) : void
Результат void

Описание свойств

$key защищенное свойство

key The key of the table we're working with
protected string $key
Результат string

$table защищенное свойство

The actual table that we're working with
protected BaseObject $table
Результат BaseObject