Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. InputAwareHelper.php

class InputAwareHelper

An implementation of InputAwareInterface for Helpers.

@author Wouter J <waldio.webdesign@gmail.com>

Hierarchy

  • class \Symfony\Component\Console\Helper\Helper implements \Symfony\Component\Console\Helper\HelperInterface
    • class \Symfony\Component\Console\Helper\InputAwareHelper extends \Symfony\Component\Console\Helper\Helper implements \Symfony\Component\Console\Input\InputAwareInterface

Expanded class hierarchy of InputAwareHelper

File

vendor/symfony/console/Helper/InputAwareHelper.php, line 22

Namespace

Symfony\Component\Console\Helper
View source
abstract class InputAwareHelper extends Helper implements InputAwareInterface {
    protected InputInterface $input;
    public function setInput(InputInterface $input) : void {
        $this->input = $input;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
Helper::$helperSet protected property
Helper::formatMemory public static function
Helper::formatTime public static function
Helper::getHelperSet public function Gets the helper set associated with this helper. Overrides HelperInterface::getHelperSet
Helper::length public static function Returns the length of a string, using mb_strlen if it is available.
The length is related to how many bytes the string will use.
Helper::removeDecoration public static function
Helper::setHelperSet public function Sets the helper set associated with this helper. Overrides HelperInterface::setHelperSet
Helper::substr public static function Returns the subset of a string, using mb_substr if it is available.
Helper::width public static function Returns the width of a string, using mb_strwidth if it is available.
The width is how many characters positions the string will use.
HelperInterface::getName public function Returns the canonical name of this helper. 5
InputAwareHelper::$input protected property
InputAwareHelper::setInput public function Sets the Console Input. Overrides InputAwareInterface::setInput

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal