Lines Matching refs:value
26 * @param mixed $value
30 public static function exact($value) argument
32 return new Token\ExactValueToken($value);
51 * @param mixed $value
55 public static function which($methodName, $value) argument
57 return new Token\ObjectStateToken($methodName, $value);
107 * @param integer $value array elements count
111 public static function size($value) argument
113 return new Token\ArrayCountToken($value);
120 * @param mixed $value exact value or token
124 public static function withEntry($key, $value) argument
126 return new Token\ArrayEntryToken($key, $value);
132 * @param mixed $value
136 public static function withEveryEntry($value) argument
138 return new Token\ArrayEveryEntryToken($value);
144 * @param mixed $value
148 public static function containing($value) argument
150 return new Token\ArrayEntryToken(self::any(), $value);
168 * @param mixed $value either exact value or argument token
172 public static function not($value) argument
174 return new Token\LogicalNotToken($value);
178 * @param string $value
182 public static function containingString($value) argument
184 return new Token\StringContainsToken($value);
190 * @param mixed $value
194 public static function is($value) argument
196 return new Token\IdenticalValueToken($value);
203 * @param float $value
208 public static function approximate($value, $precision = 0) argument
210 return new Token\ApproximateValueToken($value, $precision);