mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-09-06 12:45:03 +02:00
18 lines
333 B
PHP
18 lines
333 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Http\Api\Field\Auth\User;
|
|
|
|
use App\Http\Api\Field\StringField;
|
|
use App\Http\Api\Schema\Schema;
|
|
use App\Models\Auth\User;
|
|
|
|
class UserNameField extends StringField
|
|
{
|
|
public function __construct(Schema $schema)
|
|
{
|
|
parent::__construct($schema, User::ATTRIBUTE_NAME);
|
|
}
|
|
}
|