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

Breadcrumb

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

function HelperSet::has

Returns true if the helper if defined.

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 51

Class

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

Namespace

Symfony\Component\Console\Helper

Code

public function has(string $name) : bool {
    return isset($this->helpers[$name]);
}
RSS feed
Powered by Drupal