You are here

public function IdenticalValueToken::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument/Token/IdenticalValueToken.php \Prophecy\Argument\Token\IdenticalValueToken::__construct()

Initializes token.

Parameters

mixed $value:

StringUtil $util:

File

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

Class

IdenticalValueToken
Identical value token.

Namespace

Prophecy\Argument\Token

Code

public function __construct($value, StringUtil $util = null) {
  $this->value = $value;
  $this->util = $util ?: new StringUtil();
}