Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

461 B
Raw Blame
<?php

declare(strict_types=1);

namespace App\Enums\Tour;

use App\Enums\PostHog\TourEvent;

/**
 * How a tour ended: the user reached its last step, or closed it before.
 */
enum Outcome: string
{
    case Completed = 'completed';
    case Skipped = 'skipped';

    public function event(): TourEvent
    {
        return match ($this) {
            self::Completed => TourEvent::Completed,
            self::Skipped => TourEvent::Skipped,
        };
    }
}