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

Breadcrumb

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

function ExactValueToken::__toString

Returns string representation for token.

Return value

string

Overrides TokenInterface::__toString

File

vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php, line 116

Class

ExactValueToken
Exact value token.

Namespace

Prophecy\Argument\Token

Code

public function __toString() {
    if (null === $this->string) {
        $this->string = sprintf('exact(%s)', $this->util
            ->stringify($this->value));
    }
    return $this->string;
}

API Navigation

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