<?php

declare(strict_types=1);

namespace App\ApiResource;

use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Get;
use App\State\LeaveRecapPrintProvider;

#[ApiResource(
    operations: [
        new Get(
            uriTemplate: '/leave-recap/print',
            provider: LeaveRecapPrintProvider::class,
            security: "is_granted('ROLE_ADMIN')"
        ),
    ]
)]
final class LeaveRecapPrint {}
