acelot/automapper

View on GitHub
src/MapperFactory.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php declare(strict_types=1);

namespace Acelot\AutoMapper;

final class MapperFactory implements MapperFactoryInterface
{
    public function create(ContextInterface $context, FieldInterface ...$fields): Mapper
    {
        return new Mapper($context, ...$fields);
    }
}