ibrows/datatrans

This package is abandoned and no longer maintained. No replacement package was suggested.

Ibrows Datatrans Integration

2.0.1 2015-01-09 15:01 UTC

This package is not auto-updated.

Last update: 2019-12-12 09:58:36 UTC


README

Build Status Total Downloads Latest Stable Version Scrutinizer Code Quality

Installation

Prepare Services

<?php

use Ibrows\DataTrans\Error\ErrorHandler;
use Psr\Log\NullLogger;
use Symfony\Component\Validator\Validation;

$errorHandler = new ErrorHandler(new Logger());
$serializer = new Serializer($errorHandler);
$validator = Validation::createValidatorBuilder()
  ->addMethodMapping('loadValidatorMetadata')
  ->getValidator()
;

Usage