public function transform($context)
    {
        $classIdParts = explode('\\', get_class($context));
        $option = [
            'id' => $context->id,
            'teamId' => $context->team->id,
            'teamName' => $context->team->name,
            'contextType' => array_pop($classIdParts),
            'role' => $context->role,
            'status' => $context->status,
        ];
        return $option;
    }