PHP Класс Liip\RMT\Action\BaseAction

Наследование: implements Liip\RMT\ContextAwareInterface, implements Liip\RMT\Action\ActionInterface
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$options

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

Метод Описание
__construct ( $options = [] )
confirmSuccess ( ) A common method to confirm success to the user
execute ( ) Main part of the action
executeCommandInProcess ( string $cmd, float | null $timeout = null ) : Process Execute a command and render the output through the classical indented output
getInformationRequests ( ) : array Return an array of options that can be * Liip\RMT\Option\Option A new option specific to this prerequiste * string The name of a standarmt option (comment, type, author.
getTitle ( ) : string Return the name of the action as it will be display to the user

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

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

public __construct ( $options = [] )

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

A common method to confirm success to the user
public confirmSuccess ( )

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

Main part of the action
abstract public execute ( )

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

Execute a command and render the output through the classical indented output
public executeCommandInProcess ( string $cmd, float | null $timeout = null ) : Process
$cmd string
$timeout float | null
Результат Symfony\Component\Process\Process

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

..)
public getInformationRequests ( ) : array
Результат array

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

Return the name of the action as it will be display to the user
public getTitle ( ) : string
Результат string

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

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

protected $options