Lines Matching refs:value
25 private $value; variable in Prophecy\\Argument\\Token\\ExactValueToken
33 * @param mixed $value
37 …public function __construct($value, StringUtil $util = null, ComparatorFactory $comparatorFactory … argument
39 $this->value = $value;
54 if (is_object($argument) && is_object($this->value)) {
56 $argument, $this->value
60 $comparator->assertEquals($argument, $this->value);
66 if (is_object($argument) xor is_object($this->value)) {
71 if (is_object($this->value) && !method_exists($this->value, '__toString')) {
74 } elseif (is_numeric($argument) && is_numeric($this->value)) {
76 } elseif (gettype($argument) !== gettype($this->value)) {
80 return $argument == $this->value ? 10 : false;
90 return $this->value;
111 $this->string = sprintf('exact(%s)', $this->util->stringify($this->value));