Documentation

rex_console_command extends Command
in package

AbstractYes

Table of Contents

Properties

$package  : rex_package|null

Methods

getPackage()  : rex_package|null
run()  : int
setPackage()  : $this
decodeMessage()  : string
Decodes a html message for use in the CLI, e.g. provided by rex_i18n.
getStyle()  : SymfonyStyle

Properties

Methods

getPackage()

public getPackage() : rex_package|null
Return values
rex_package|null

In core commands it returns null, otherwise the corresponding package object

run()

public run(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

decodeMessage()

Decodes a html message for use in the CLI, e.g. provided by rex_i18n.

protected decodeMessage(string $message) : string
Parameters
$message : string

A html message

Return values
string

A cli optimzed message

getStyle()

protected getStyle(InputInterface $input, OutputInterface $output) : SymfonyStyle
Parameters
$input : InputInterface
$output : OutputInterface
Return values
SymfonyStyle

        
On this page

Search results