use Shopware\Core\Framework\DataAbstractionLayer\Entity;
use Shopware\Core\Framework\DataAbstractionLayer\EntityCollection;
use Shopware\Core\Framework\Struct\ArrayEntity;
/**
* @internal
*/
class TestBasicWithExtension extends SerializationFixture
{ public function getInput(): EntityCollection|Entity
{ $extendable =
new ArrayEntity([ 'id' => '1d23c1b015bf43fb97e89008cf42d6fe',
'createdAt' =>
new \
DateTime('2018-01-15T08:01:16.000+00:00'
),
]);
$extendable->
addExtension('toOne',
new ArrayEntity([ 'id' => '6f51622eb3814c75ae0263cece27ce72',
'name' => 'toOne',
]));
$extendable->
addExtension('toOneWithoutApiAware',
new ArrayEntity([ 'id' => '6f51622eb3814c75ae0263cece27ce72',