[ Index ]

PHP Cross Reference of phpBB-3.1.12-deutsch

title

Body

[close]

/vendor/symfony/console/Symfony/Component/Console/Helper/ -> HelperSet.php (summary)

(no description)

File Size: 104 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

HelperSet:: (6 methods):
  __construct()
  set()
  has()
  get()
  setCommand()
  getCommand()


Class: HelperSet  - X-Ref

HelperSet represents a set of helpers to be used with a command.

__construct(array $helpers = array()   X-Ref
Constructor.

param: Helper[] $helpers An array of helper.

set(HelperInterface $helper, $alias = null)   X-Ref
Sets a helper.

param: HelperInterface $helper The helper instance
param: string          $alias  An alias

has($name)   X-Ref
Returns true if the helper if defined.

param: string $name The helper name
return: bool true if the helper is defined, false otherwise

get($name)   X-Ref
Gets a helper value.

param: string $name The helper name
return: HelperInterface The helper instance

setCommand(Command $command = null)   X-Ref
Sets the command associated with this helper set.

param: Command $command A Command instance

getCommand()   X-Ref
Gets the command associated with this helper set.

return: Command A Command instance



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1