protected function detectChangedFiles(array $pathAndFilenames)
    {
        $changedFiles = [];
        foreach ($pathAndFilenames as $pathAndFilename) {
            $status = $this->changeDetectionStrategy->getFileStatus($pathAndFilename);
            if ($status !== ChangeDetectionStrategyInterface::STATUS_UNCHANGED) {
                $changedFiles[$pathAndFilename] = $status;
            }
        }
        return $changedFiles;
    }
protected function detectChangedFiles(array $pathAndFilenames)
    {
        $changedFiles = [];
        foreach ($pathAndFilenames as $pathAndFilename) {
            $status = $this->changeDetectionStrategy->getFileStatus($pathAndFilename);
            if ($status !== ChangeDetectionStrategyInterface::STATUS_UNCHANGED) {
                $changedFiles[$pathAndFilename] = $status;
            }
        }
        return $changedFiles;
    }
protected function detectChangedFiles ( array $ pathAndFilenames ) { $ changedFiles = [ ] ; foreach ( $ pathAndFilenames as $ pathAndFilename ) { $ status = $ this -> changeDetectionStrategy -> getFileStatus ( $ pathAndFilename ) ; if ( $ status !== ChangeDetectionStrategyInterface :: STATUS_UNCHANGED ) { $ changedFiles [ $ pathAndFilename ] = $ status ; } } return $ changedFiles ; }
Detects changes in the given list of files and emits signals if necessary.

@param array $pathAndFilenames A list of full path and filenames of files to check
@return array An array of changed files (key = path and filenmae) and their status (value)
Detects changes in the given list of files and emits signals if necessary .