public function LogicalNotToken::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Argument/Token/LogicalNotToken.php \Prophecy\Argument\Token\LogicalNotToken::__construct()
Parameters
mixed $value exact value or token:
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Argument/ Token/ LogicalNotToken.php, line 27
Class
- LogicalNotToken
- Logical NOT token.
Namespace
Prophecy\Argument\TokenCode
public function __construct($value) {
$this->token = $value instanceof TokenInterface ? $value : new ExactValueToken($value);
}