public function applyTransformations(array $transforms)
    {
        foreach ($this->documents as $doc) {
            foreach ($transforms as $transform) {
                $doc->applyTransformation($transform);
            }
        }
    }
public function applyTransformations(array $transforms)
    {
        foreach ($this->documents as $doc) {
            foreach ($transforms as $transform) {
                $doc->applyTransformation($transform);
            }
        }
    }
public function applyTransformations ( array $ transforms ) { foreach ( $ this -> documents as $ doc ) { foreach ( $ transforms as $ transform ) { $ doc -> applyTransformation ( $ transform ) ; } } }
Apply an array of transformations to all documents in this container.

@param array An array of TransformationInterface instances
Apply an array of transformations to all documents in this container .