src/Collections/DocumentArrayCollection.php
/**
     * Apply extract to the document to pull out all the points of 
     * interest
     * @param IExtractStrategy $extract
     * @return array
     */
Apply extract to the document to pull out all the points of
interest
@param IExtractStrategy $extract
@return array
Apply extract to the document to pull out all the points of interest @param IExtractStrategy $extract @return array
public function applyExtract(IExtractStrategy $extract)
    {
        $found = [];
        foreach($this->documents as $document)
        {
            $found = array_merge($document->applyExtract($extract), $found);
        }
        return $found;
    }
public function applyExtract ( IExtractStrategy $ extract ) { $ found = [ ] ; foreach ( $ this -> documents as $ document ) { $ found = array_merge ( $ document -> applyExtract ( $ extract ) , $ found ) ; } return $ found ; }
Apply extract to the document to pull out all the points of
 interest
 @param IExtractStrategy $extract
 @return array
Apply extract to the document to pull out all the points of interest @param IExtractStrategy $extract @return array
/* @var $document \TextAnalysis\Documents\TokensDocument */