PHP 클래스 Liip\RMT\Action\BaseAction

상속: implements Liip\RMT\ContextAwareInterface, implements Liip\RMT\Action\ActionInterface
파일 보기 프로젝트 열기: liip/rmt 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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