Files
animethemes-server/app/GraphQL/Attributes/Resolvers/UseAuthDirective.php
T

16 lines
240 B
PHP

<?php
declare(strict_types=1);
namespace App\GraphQL\Attributes\Resolvers;
use Attribute;
#[Attribute(Attribute::TARGET_CLASS)]
class UseAuthDirective
{
public function __construct(
public bool $shouldUse = true,
) {}
}