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.
dto2data/tests/unit/Converter/fixtures/FillTest/HelloSchema.php

62 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
{
public ?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'
];
}