You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
438 B
19 lines
438 B
<?php
|
|
|
|
namespace Rinsvent\Data2DTO\Tests\unit\Converter\fixtures\FillTest;
|
|
|
|
use Rinsvent\Data2DTO\Attribute\DTOMeta;
|
|
use Rinsvent\Data2DTO\Attribute\PropertyPath;
|
|
use Rinsvent\Data2DTO\Transformer\Trim;
|
|
|
|
class HelloRequest
|
|
{
|
|
#[Trim]
|
|
public string $surname;
|
|
#[PropertyPath('fake_age')]
|
|
public int $age;
|
|
public array $emails;
|
|
#[DTOMeta(class: Author::class)]
|
|
public array $authors;
|
|
public BuyRequest $buy;
|
|
}
|
|
|