protected function interceptProperty(ReflectionProperty $property) { $this->interceptedProperties[] = is_object($property) ? $property->name : $property; $this->isFieldsIntercepted = true; }