<?php

namespace Gateway\Maze;

class WorkflowEngine
{
    private static $instance = null;

    public static function init()
    {
        if (self::$instance === null) {
            self::$instance = new self();
        }
        return self::$instance;
    }

    private function __construct()
    {
        // Initialize workflow engine hooks
        add_action('init', [$this, 'registerHooks']);
    }

    public function registerHooks()
    {
        // Hook for workflow transitions
        do_action('arc_maze_workflow_engine_ready');
    }
}
