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

Breadcrumb

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

function OutputFormatterInterface::hasStyle

Checks if output formatter has style with specified name.

2 methods override OutputFormatterInterface::hasStyle()
NullOutputFormatter::hasStyle in vendor/symfony/console/Formatter/NullOutputFormatter.php
Checks if output formatter has style with specified name.
OutputFormatter::hasStyle in vendor/symfony/console/Formatter/OutputFormatter.php
Checks if output formatter has style with specified name.

File

vendor/symfony/console/Formatter/OutputFormatterInterface.php, line 39

Class

OutputFormatterInterface
Formatter interface for console output.

Namespace

Symfony\Component\Console\Formatter

Code

public function hasStyle(string $name) : bool;

API Navigation

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