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

Breadcrumb

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

function IdenticalValueToken::__toString

Returns string representation for token.

Return value

string

Overrides TokenInterface::__toString

File

vendor/phpspec/prophecy/src/Prophecy/Argument/Token/IdenticalValueToken.php, line 68

Class

IdenticalValueToken
Identical value token.

Namespace

Prophecy\Argument\Token

Code

public function __toString() {
    if (null === $this->string) {
        $this->string = sprintf('identical(%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