ibrows/datatrans

Ibrows Datatrans Integration

2.0.1 2015-01-09 15:01 UTC

This package is auto-updated.

Last update: 2024-11-26 19:03:49 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