Symfony\Component\Console\Application::getDefaultHelperSet PHP Method

getDefaultHelperSet() protected method

Gets the default helper set with the helpers that should always be available.
protected getDefaultHelperSet ( ) : Symfony\Component\Console\Helper\HelperSet
return Symfony\Component\Console\Helper\HelperSet A HelperSet instance
    protected function getDefaultHelperSet()
    {
        return new HelperSet(array(new FormatterHelper(), new DebugFormatterHelper(), new ProcessHelper(), new QuestionHelper()));
    }

Usage Example

Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function getDefaultHelperSet()
 {
     $helperSet = parent::getDefaultHelperSet();
     $helperSet->set(new Config());
     $helperSet->set(new YoHelper());
     return $helperSet;
 }
All Usage Examples Of Symfony\Component\Console\Application::getDefaultHelperSet