mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-10-01 00:26:55 +02:00
24 lines
364 B
PHP
24 lines
364 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\GraphQL\Attributes;
|
|
|
|
use Attribute;
|
|
|
|
/**
|
|
* Class UseField.
|
|
*/
|
|
#[Attribute(Attribute::TARGET_CLASS)]
|
|
class UseField
|
|
{
|
|
/**
|
|
* @param class-string $fieldClass
|
|
* @param string $method
|
|
*/
|
|
public function __construct(
|
|
public string $fieldClass,
|
|
public string $method,
|
|
) {}
|
|
}
|