You are here

public function ArrayEntryToken::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ArrayEntryToken.php \Prophecy\Argument\Token\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);
}