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