Lines Matching refs:value
41 * @param array|object $value The value to add.
47 public function add(&$value) argument
49 if (is_array($value)) {
50 return $this->addArray($value);
51 } elseif (is_object($value)) {
52 return $this->addObject($value);
63 * @param array|object $value The value to check.
69 public function contains(&$value) argument
71 if (is_array($value)) {
72 return $this->containsArray($value);
73 } elseif (is_object($value)) {
74 return $this->containsObject($value);
145 * @param object $value
149 private function containsObject($value) argument
151 if ($this->objects->contains($value)) {
152 return spl_object_hash($value);