public function addTransformers(array $dataTransformers)
    {
        foreach ($dataTransformers as $type => $dataTransformer) {

            if ( ! $dataTransformer instanceof DataTransformerInterface) {
                throw new InvalidDataTransformerException();
            }

            $this->addTransformer($type, $dataTransformer);
        }

        return $this;
    }
public function addTransformers(array $dataTransformers)
    {
        foreach ($dataTransformers as $type => $dataTransformer) {

            if ( ! $dataTransformer instanceof DataTransformerInterface) {
                throw new InvalidDataTransformerException();
            }

            $this->addTransformer($type, $dataTransformer);
        }

        return $this;
    }
public function addTransformers ( array $ dataTransformers ) { foreach ( $ dataTransformers as $ type => $ dataTransformer ) { if ( ! $ dataTransformer instanceof DataTransformerInterface ) { throw new InvalidDataTransformerException ( ) ; } $ this -> addTransformer ( $ type , $ dataTransformer ) ; } return $ this ; }
Add a group of data transformers

array (
'date' => DataTransformerInterface
)

@param array $dataTransformers
@return $this
Add a group of data transformers