public function IdenticalValueToken::__construct in Zircon Profile 8
Same name and namespace in other branches
- 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\TokenCode
public function __construct($value, StringUtil $util = null) {
$this->value = $value;
$this->util = $util ?: new StringUtil();
}