Overview

Namespaces

  • Evenement
  • None
  • Peridot
    • Console
    • Core
    • Reporter
    • Runner
    • Scope
    • Test
  • Symfony
    • Component
      • Console
        • Command
        • Descriptor
        • Event
        • Exception
        • Formatter
        • Helper
        • Input
        • Logger
        • Output
        • Question
        • Style
        • Tester
        • Tests
          • Command
          • Descriptor
          • Fixtures
          • Formatter
          • Helper
          • Input
          • Logger
          • Output
          • Style
          • Tester

Classes

  • DebugFormatterHelper
  • DescriptorHelper
  • DialogHelper
  • FormatterHelper
  • Helper
  • HelperSet
  • InputAwareHelper
  • ProcessHelper
  • ProgressBar
  • ProgressHelper
  • ProgressIndicator
  • QuestionHelper
  • SymfonyQuestionHelper
  • Table
  • TableCell
  • TableHelper
  • TableSeparator
  • TableStyle

Interfaces

  • HelperInterface
  • Overview
  • Namespace
  • Class

Class Helper

Helper is the base class for all helper classes.

Symfony\Component\Console\Helper\Helper implements Symfony\Component\Console\Helper\HelperInterface

Direct known subclasses

Symfony\Component\Console\Helper\DebugFormatterHelper, Symfony\Component\Console\Helper\DescriptorHelper, Symfony\Component\Console\Helper\FormatterHelper, Symfony\Component\Console\Helper\InputAwareHelper, Symfony\Component\Console\Helper\ProcessHelper, Symfony\Component\Console\Helper\ProgressHelper, Symfony\Component\Console\Helper\QuestionHelper, Symfony\Component\Console\Helper\TableHelper

Indirect known subclasses

Symfony\Component\Console\Helper\DialogHelper, Symfony\Component\Console\Helper\SymfonyQuestionHelper
Abstract
Namespace: Symfony\Component\Console\Helper
Author: Fabien Potencier fabien@symfony.com
Located at Helper/Helper.php
Methods summary
public
# setHelperSet( Symfony\Component\Console\Helper\HelperSet $helperSet = null )

Sets the helper set associated with this helper.

Sets the helper set associated with this helper.

Parameters

$helperSet
A HelperSet instance

Implementation of

Symfony\Component\Console\Helper\HelperInterface::setHelperSet()
public Symfony\Component\Console\Helper\HelperSet
# getHelperSet( )

Gets the helper set associated with this helper.

Gets the helper set associated with this helper.

Returns

Symfony\Component\Console\Helper\HelperSet
A HelperSet instance

Implementation of

Symfony\Component\Console\Helper\HelperInterface::getHelperSet()
public static integer
# strlen( string $string )

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

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

Parameters

$string
The string to check its length

Returns

integer
The length of the string
public static
# formatTime( $secs )
public static
# formatMemory( $memory )
public static
# strlenWithoutDecoration( Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter, $string )
Methods inherited from Symfony\Component\Console\Helper\HelperInterface
getName()
Properties summary
protected $helperSet
# null
Peridot API documentation generated by ApiGen