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

Breadcrumb

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

function ArrayEntryToken::__construct

Parameters

mixed $key exact value or token:

mixed $value exact value or token:

File

vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEntryToken.php, line 32

Class

ArrayEntryToken
Array entry token.

Namespace

Prophecy\Argument\Token

Code

public function __construct($key, $value) {
    $this->key = $this->wrapIntoExactValueToken($key);
    $this->value = $this->wrapIntoExactValueToken($value);
}

API Navigation

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