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

Breadcrumb

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

function AbstractString::width

Returns the printable length on a terminal.

2 methods override AbstractString::width()
AbstractUnicodeString::width in vendor/symfony/string/AbstractUnicodeString.php
Returns the printable length on a terminal.
ByteString::width in vendor/symfony/string/ByteString.php
Returns the printable length on a terminal.

File

vendor/symfony/string/AbstractString.php, line 656

Class

AbstractString
Represents a string of abstract characters.

Namespace

Symfony\Component\String

Code

public abstract function width(bool $ignoreAnsiDecoration = true) : int;

API Navigation

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