TYPO3  7.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Helper Class Reference
Inheritance diagram for Helper:
HelperInterface DebugFormatterHelper DescriptorHelper FormatterHelper InputAwareHelper ProcessHelper ProgressHelper QuestionHelper TableHelper

Public Member Functions

 setHelperSet (HelperSet $helperSet=null)
 
 getHelperSet ()
 
- Public Member Functions inherited from HelperInterface
 getName ()
 

Static Public Member Functions

static strlen ($string)
 
static formatTime ($secs)
 
static formatMemory ($memory)
 
static strlenWithoutDecoration (OutputFormatterInterface $formatter, $string)
 

Protected Attributes

 $helperSet = null
 

Detailed Description

Helper is the base class for all helper classes.

Author
Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com

Definition at line 21 of file vendor/symfony/console/Helper/Helper.php.

Member Function Documentation

static formatMemory (   $memory)
static
static formatTime (   $secs)
static
getHelperSet ( )

Gets the helper set associated with this helper.

Returns
HelperSet A HelperSet instance

Implements HelperInterface.

Definition at line 40 of file vendor/symfony/console/Helper/Helper.php.

References Helper\$helperSet.

Referenced by ProcessHelper\run(), DialogHelper\validateAttempts(), ProcessHelper\wrapCallback(), and QuestionHelper\writeError().

setHelperSet ( HelperSet  $helperSet = null)

Sets the helper set associated with this helper.

Parameters
HelperSet$helperSetA HelperSet instance

Implements HelperInterface.

Definition at line 30 of file vendor/symfony/console/Helper/Helper.php.

References Helper\$helperSet.

static strlen (   $string)
static

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

Parameters
string$stringThe string to check its length
Returns
int The length of the string

Definition at line 52 of file vendor/symfony/console/Helper/Helper.php.

Referenced by SymfonyQuestionHelper\ask(), DialogHelper\ask(), QuestionHelper\autocomplete(), SymfonyStyle\block(), QuestionHelper\doAsk(), FormatterHelper\formatBlock(), ProgressHelper\generate(), ProgressHelper\initialize(), ProgressHelper\overwrite(), Table\renderCell(), and ProgressBar\setMaxSteps().

static strlenWithoutDecoration ( OutputFormatterInterface  $formatter,
  $string 
)
static

Member Data Documentation

$helperSet = null
protected