mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-30 08:06:55 +02:00
24 lines
382 B
PHP
24 lines
382 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Attributes;
|
|
|
|
use Attribute;
|
|
|
|
/**
|
|
* Class UseBuilder.
|
|
*/
|
|
#[Attribute(Attribute::TARGET_CLASS)]
|
|
class UseBuilder
|
|
{
|
|
/**
|
|
* @param class-string $builderClass
|
|
* @param string $method
|
|
*/
|
|
public function __construct(
|
|
public string $builderClass,
|
|
public string $method = 'index',
|
|
) {}
|
|
}
|