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
397 B
19 lines
397 B
<?php
|
|
|
|
namespace Rinsvent\DTO2Data\Tests\unit\Converter\fixtures\FillTest;
|
|
|
|
use Rinsvent\DTO2Data\Attribute\DataPath;
|
|
use Rinsvent\DTO2Data\Transformer\Trim;
|
|
|
|
#[HelloSchema]
|
|
class HelloRequest
|
|
{
|
|
#[Trim]
|
|
public string $surname;
|
|
#[DataPath('fake_age')]
|
|
public int $age;
|
|
public array $emails;
|
|
public array $authors;
|
|
public BuyRequest $buy;
|
|
public BarInterface $bar;
|
|
}
|
|
|