src/Collections/DocumentArrayCollection.php
/**
     * @param array $transformations An array of 
     * Apply the collection of token transformers to the documents
     */
@param array $transformations An array of
Apply the collection of token transformers to the documents
@param array $transformations An array of Apply the collection of token transformers to the documents
public function applyTransformations(array $transformations)
    {
        foreach($this->documents as $document) 
        { 
            foreach($transformations as $transformation)
            {
                $document->applyTransformation($transformation);
            }
        }        
    }
public function applyTransformations ( array $ transformations ) { foreach ( $ this -> documents as $ document ) { foreach ( $ transformations as $ transformation ) { $ document -> applyTransformation ( $ transformation ) ; } } }
@param array $transformations An array of
 Apply the collection of token transformers to the documents
@param array $transformations An array of Apply the collection of token transformers to the documents
/** @var DocumentAbstract $document **/ /** @var ITokenTransformation $transformation **/