private function hydrateOne(string $classPath, array $data): Hydratable
    {
        /** @var Hydratable $entity */
        $entity = new $classPath();
        $entity->hydrate($data);

        return $entity;
    }