PHP Class N98\Util\Console\Helper\IoHelper

Helper named "io" providing (Input and) OutputInterface within the global helper-set Register itself on @see ConsoleEvents::COMMAND event to populate helper fields
Inheritance: implements Symfony\Component\Console\Helper\HelperInterface, implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Datei anzeigen Open project: netz98/n98-magerun

Public Methods

Method Description
getHelperSet ( ) : Symfony\Component\Console\Helper\HelperSet Gets the helper set associated with this helper.
getName ( ) : string Returns the canonical name of this helper.
getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
getSubscribedEvents ( )
initializeEventIo ( Symfony\Component\Console\Event\ConsoleCommandEvent $event )
initializeIo ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
setHelperSet ( Symfony\Component\Console\Helper\HelperSet $helperSet = null ) Sets the helper set associated with this helper.

Method Details

getHelperSet() public method

Gets the helper set associated with this helper.
public getHelperSet ( ) : Symfony\Component\Console\Helper\HelperSet
return Symfony\Component\Console\Helper\HelperSet A HelperSet instance

getName() public method

Returns the canonical name of this helper.
public getName ( ) : string
return string The canonical name

getOutput() public method

public getOutput ( ) : Symfony\Component\Console\Output\OutputInterface
return Symfony\Component\Console\Output\OutputInterface

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

initializeEventIo() public method

See also: getSubscribedEvents
public initializeEventIo ( Symfony\Component\Console\Event\ConsoleCommandEvent $event )
$event Symfony\Component\Console\Event\ConsoleCommandEvent

initializeIo() public method

public initializeIo ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

setHelperSet() public method

Sets the helper set associated with this helper.
public setHelperSet ( Symfony\Component\Console\Helper\HelperSet $helperSet = null )
$helperSet Symfony\Component\Console\Helper\HelperSet A HelperSet instance