PHP Класс DbPatch_Command_Runner

Автор: Rudi de Vries
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$writer DbPatch_Core_Writer | null

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

Метод Описание
__construct ( DbPatch_Core_Writer $writer )
getCommand ( string $command, DbPatch_Core_Console $console ) : DbPatch_Command_Abstract
getValidCommands ( ) : array
getWriter ( ) : DbPatch_Core_Writer
showHelp ( ) : void Show help options of DbPatch

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

Метод Описание
convertShortCommand ( string $command ) : string Convert short commands to long names

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

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

public __construct ( DbPatch_Core_Writer $writer )
$writer DbPatch_Core_Writer

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

Convert short commands to long names
protected convertShortCommand ( string $command ) : string
$command string
Результат string

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

public getCommand ( string $command, DbPatch_Core_Console $console ) : DbPatch_Command_Abstract
$command string
$console DbPatch_Core_Console
Результат DbPatch_Command_Abstract

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

public static getValidCommands ( ) : array
Результат array

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

public getWriter ( ) : DbPatch_Core_Writer
Результат DbPatch_Core_Writer

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

Show help options of DbPatch
public showHelp ( ) : void
Результат void

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

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

protected DbPatch_Core_Writer|null $writer
Результат DbPatch_Core_Writer | null