src/AutoMapper/UserGroup/AutoMapperConfiguration.php
<?php
declare(strict_types = 1);
/**
* /src/AutoMapper/UserGroup/AutoMapperConfiguration.php
*
* @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
*/
namespace App\AutoMapper\UserGroup;
use App\AutoMapper\RestAutoMapperConfiguration;
use App\DTO\UserGroup\UserGroupCreate;
use App\DTO\UserGroup\UserGroupPatch;
use App\DTO\UserGroup\UserGroupUpdate;
/**
* @package App\AutoMapper
* @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
*/
class AutoMapperConfiguration extends RestAutoMapperConfiguration
{
/**
* Classes to use specified request mapper.
*
* @var array<int, class-string>
*/
protected static array $requestMapperClasses = [
UserGroupCreate::class,
UserGroupUpdate::class,
UserGroupPatch::class,
];
public function __construct(
RequestMapper $requestMapper,
) {
parent::__construct($requestMapper);
}
}