Lines Matching refs:ref
75 $ref = $this->propertyReflectionCache[$metadata->class][$name] ?? null;
76 if (null === $ref) {
77 $ref = new \ReflectionProperty($metadata->class, $name);
78 $ref->setAccessible(true);
79 $this->propertyReflectionCache[$metadata->class][$name] = $ref;
82 return $ref->getValue($o);
110 $ref = $this->propertyReflectionCache[$metadata->class][$name] ?? null;
111 if (null === $ref) {
112 $ref = new \ReflectionProperty($metadata->class, $name);
113 $ref->setAccessible(true);
114 $this->propertyReflectionCache[$metadata->class][$name] = $ref;
117 $ref->setValue($o, $value);