protected function addClassData(array $data, string $key, \ReflectionClass $reflector, $item, $variant): array
    {
        $data['data'][$key] = $this->getClassData($reflector, $item, $variant);

        return $data;
    }