code: private function propOverrides(\ReflectionProperty $reflectionProperty, $propInfo, $className)
      {
          if (empty($propInfo['overrides'])
              && empty($propInfo['inheritedFrom'])
              && $reflectionProperty->getDeclaringClass()->getName() == $className
          ) {
              return $className;
          }
          return null;
      }
docs: Determine propInfo['overrides'] value
  
  This is the classname of previous ancestor where property is defined
  
  @param \ReflectionProperty $reflectionProperty Reflection Property
  @param array               $propInfo           Property Info
  @param string              $className          className of object being inspected
  
  @return string|null