private function Context::containsObject in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/sebastian/recursion-context/src/Context.php \SebastianBergmann\RecursionContext\Context::containsObject()
Parameters
object $value:
Return value
string|false
1 call to Context::containsObject()
- Context::contains in vendor/
sebastian/ recursion-context/ src/ Context.php - Checks if the given value exists within the context.
File
- vendor/
sebastian/ recursion-context/ src/ Context.php, line 145
Class
- Context
- A context containing previously processed arrays and objects when recursively processing a value.
Namespace
SebastianBergmann\RecursionContextCode
private function containsObject($value) {
if ($this->objects
->contains($value)) {
return spl_object_hash($value);
}
return false;
}