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

Breadcrumb

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

function ProgressIndicator::getPlaceholderFormatterDefinition

Gets the placeholder formatter for a given name (including the delimiter char like %).

1 call to ProgressIndicator::getPlaceholderFormatterDefinition()
ProgressIndicator::display in vendor/symfony/console/Helper/ProgressIndicator.php

File

vendor/symfony/console/Helper/ProgressIndicator.php, line 179

Class

ProgressIndicator
@author Kevin Bond <kevinbond@gmail.com>

Namespace

Symfony\Component\Console\Helper

Code

public static function getPlaceholderFormatterDefinition(string $name) : ?callable {
    self::$formatters ??= self::initPlaceholderFormatters();
    return self::$formatters[$name] ?? null;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal