<?php

declare(strict_types=1);

namespace App\Modules\Inventory\Presentation\Controllers;

use App\Modules\Inventory\Application\Services\OpeningStockPageService;

final class OpeningStockController
{
    private OpeningStockPageService $pages;

    public function __construct()
    {
        $this->pages = new OpeningStockPageService();
    }

    public function handle(): void
    {
        $this->pages->handle();
    }

    public function print(): void
    {
        $this->pages->print();
    }
}

