dto2data/tests/unit/Converter/fixtures/FillTest/HelloSchema.php
Rinsvent 43bc10d24f Добавил property accessor
добавил тесты
проработка логики работы фич
2022-03-19 00:26:29 +07:00

62 lines
1.1 KiB
PHP

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