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.
61 lines
1.2 KiB
61 lines
1.2 KiB
<?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
|
|
{
|
|
protected array $baseMap = [
|
|
'surname',
|
|
'fake_age' => 'age',
|
|
'emails',
|
|
'authors' => [
|
|
'name',
|
|
],
|
|
'authors2' => [
|
|
'name',
|
|
],
|
|
'authors3',
|
|
'buy' => [
|
|
'phrase',
|
|
'length',
|
|
'isFirst',
|
|
],
|
|
'bar' => [
|
|
'barField'
|
|
],
|
|
'uuid',
|
|
'collection' => [
|
|
'value'
|
|
],
|
|
'createdAt',
|
|
|
|
'psurname',
|
|
'pfake_age' => 'page',
|
|
'pemails',
|
|
'pauthors' => [
|
|
'name',
|
|
],
|
|
'pauthors2' => [
|
|
'name',
|
|
],
|
|
'pauthors3',
|
|
'pbuy' => [
|
|
'phrase',
|
|
'length',
|
|
'isFirst',
|
|
],
|
|
'pbar' => [
|
|
'barField'
|
|
],
|
|
'puuid',
|
|
'pcollection' => [
|
|
'value'
|
|
],
|
|
'pcreatedAt',
|
|
|
|
'fake_Pdevdo' => 'pdevdo'
|
|
];
|
|
}
|
|
|