You are here

public function HelperSet::has in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Helper/HelperSet.php \Symfony\Component\Console\Helper\HelperSet::has()

Returns true if the helper if defined.

Parameters

string $name The helper name:

Return value

bool true if the helper is defined, false otherwise

1 call to HelperSet::has()
HelperSet::get in vendor/symfony/console/Helper/HelperSet.php
Gets a helper value.

File

vendor/symfony/console/Helper/HelperSet.php, line 61

Class

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

Namespace

Symfony\Component\Console\Helper

Code

public function has($name) {
  return isset($this->helpers[$name]);
}