private function hydrateDefinitionTags(Definition $definition, array &$definitionArray)
    {
        foreach ($definition->getTags() as $key => $tag) {
            $definitionTag = [
                'name' => $key,
            ];

            foreach (array_shift($tag) as $key => $option) {
                $definitionTag[$key] = $option;
            }

            $definitionArray['tags'][] = $definitionTag;
        }
    }