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

Breadcrumb

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

function Token::__toString

Same name in this branch
  1. 11.1.x vendor/twig/twig/src/Token.php \Twig\Token::__toString()

File

vendor/symfony/css-selector/Parser/Token.php, line 99

Class

Token
CSS selector token.

Namespace

Symfony\Component\CssSelector\Parser

Code

public function __toString() : string {
    if ($this->value) {
        return \sprintf('<%s "%s" at %s>', $this->type, $this->value, $this->position);
    }
    return \sprintf('<%s at %s>', $this->type, $this->position);
}

API Navigation

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