Lines Matching refs:key
24 private $key; variable in Prophecy\\Argument\\Token\\ArrayEntryToken
29 * @param mixed $key exact value or token
32 public function __construct($key, $value) argument
34 $this->key = $this->wrapIntoExactValueToken($key);
61 $keyScores = array_map(array($this->key,'scoreArgument'), array_keys($argument));
63 $scoreEntry = function ($value, $key) {
64 return $value && $key ? min(8, ($key + $value) / 2) : false;
87 return sprintf('[..., %s => %s, ...]', $this->key, $this->value);
97 return $this->key;
131 if (!$this->key instanceof ExactValueToken) {
135 $this->key
139 $key = $this->key->getValue();
141 return $object->offsetExists($key) ? array($key => $object[$key]) : array();