class InputAwareHelper extends Helper implements InputAwareInterface

An implementation of InputAwareInterface for Helpers.

Methods

setHelperSet(HelperSet $helperSet = null)

Sets the helper set associated with this helper.

from Helper
getHelperSet()

Gets the helper set associated with this helper.

from Helper
static int
strlen(string $string)

Returns the length of a string, using mb_strlen if it is available.

from Helper
static 
formatTime($secs)

No description

from Helper
static 
formatMemory($memory)

No description

from Helper
static 
strlenWithoutDecoration(OutputFormatterInterface $formatter, $string)

No description

from Helper
setInput(InputInterface $input)

Sets the Console Input.

Details

in Helper at line line 30
setHelperSet(HelperSet $helperSet = null)

Sets the helper set associated with this helper.

Parameters

HelperSet $helperSet A HelperSet instance

in Helper at line line 40
HelperSet getHelperSet()

Gets the helper set associated with this helper.

Return Value

HelperSet A HelperSet instance

in Helper at line line 52
static int strlen(string $string)

Returns the length of a string, using mb_strlen if it is available.

Parameters

string $string The string to check its length

Return Value

int The length of the string

in Helper at line line 65
static formatTime($secs)

Parameters

$secs

in Helper at line line 92
static formatMemory($memory)

Parameters

$memory

in Helper at line line 109
static strlenWithoutDecoration(OutputFormatterInterface $formatter, $string)

Parameters

OutputFormatterInterface $formatter
$string

at line line 29
setInput(InputInterface $input)

Sets the Console Input.

Parameters

InputInterface $input