src/domain/helpers/ArticleSearchHelper.php
public static function searchTextInArticleMap($articleMap, $text) {
		$collection = [];
		foreach($articleMap as $projectId => $articleNames) {
			$articleCollection = self::findInProject($projectId, $articleNames, $text);
			$collection = ArrayHelper::merge($collection, $articleCollection);
		}
		return $collection;
	}
public static function searchTextInArticleMap($articleMap, $text) {
		$collection = [];
		foreach($articleMap as $projectId => $articleNames) {
			$articleCollection = self::findInProject($projectId, $articleNames, $text);
			$collection = ArrayHelper::merge($collection, $articleCollection);
		}
		return $collection;
	}
@param $articleMap array
@param $text string

@return array