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.
27 lines
538 B
27 lines
538 B
<?php
|
|
|
|
namespace Rinsvent\DTO2Data\Tests\unit\Converter\fixtures\FillTest;
|
|
|
|
use Rinsvent\DTO2Data\Attribute\Schema;
|
|
use Rinsvent\DTO2Data\DTO\Map;
|
|
|
|
#[\Attribute(\Attribute::TARGET_ALL|\Attribute::IS_REPEATABLE)]
|
|
class HelloSchema extends Schema
|
|
{
|
|
public ?array $map = [
|
|
'surname',
|
|
'age',
|
|
'emails',
|
|
'authors' => [
|
|
'name',
|
|
],
|
|
'buy' => [
|
|
'phrase',
|
|
'length',
|
|
'isFirst',
|
|
],
|
|
'bar' => [
|
|
'barField'
|
|
]
|
|
];
|
|
}
|
|
|