Download the PHP package proklung/dto-mapper-bundle without Composer
On this page you can find all versions of the php package proklung/dto-mapper-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package dto-mapper-bundle
Надстройка над AutoMapperPlusBundle
INTERNAL
Установка
composer.json:
Функционал
Сервис dto_mapper_bundle.mapper
с двумя методами:
1) convert($source, $destination)
2) convertCollection(iterable $sources, string $destination): iterable
Пример
Как-то так:
Результат (замаппились свойства из исходного класса):
object(EmployeDtoVersionTwo)#7268 (2) { ["firstName"]=> string(22) "first name version two" ["lastName"]=> string(21) "last name version two" }
All versions of dto-mapper-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3 | ^8.0
psr/container Version ^1.0
symfony/dependency-injection Version ^4.0 || ^5.0
symfony/config Version ^4.0 || ^5.0
symfony/http-kernel Version ^4.0 || ^5.0
symfony/property-info Version ^4.0 || ^5.0
mark-gerarts/auto-mapper-plus Version ^1.3
psr/container Version ^1.0
symfony/dependency-injection Version ^4.0 || ^5.0
symfony/config Version ^4.0 || ^5.0
symfony/http-kernel Version ^4.0 || ^5.0
symfony/property-info Version ^4.0 || ^5.0
mark-gerarts/auto-mapper-plus Version ^1.3
The package proklung/dto-mapper-bundle contains the following files
Loading the files please wait ....