2021-08-22 15:05:23 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Rinsvent\DTO2Data\Tests\unit\Converter\fixtures\FillTest;
|
|
|
|
|
|
|
|
use Rinsvent\DTO2Data\Attribute\Schema;
|
|
|
|
|
|
|
|
#[\Attribute(\Attribute::TARGET_ALL|\Attribute::IS_REPEATABLE)]
|
|
|
|
class HelloSchema extends Schema
|
|
|
|
{
|
2021-08-24 19:21:40 +03:00
|
|
|
public ?array $baseMap = [
|
2021-08-23 09:04:21 +03:00
|
|
|
'surname',
|
|
|
|
'age',
|
|
|
|
'emails',
|
|
|
|
'authors' => [
|
|
|
|
'name',
|
|
|
|
],
|
2021-08-25 20:02:43 +03:00
|
|
|
'authors2' => [
|
|
|
|
'name',
|
|
|
|
],
|
|
|
|
'authors3',
|
2021-08-23 09:04:21 +03:00
|
|
|
'buy' => [
|
|
|
|
'phrase',
|
|
|
|
'length',
|
|
|
|
'isFirst',
|
|
|
|
],
|
|
|
|
'bar' => [
|
|
|
|
'barField'
|
|
|
|
]
|
|
|
|
];
|
|
|
|
}
|