protected function _appendFileToPaths(array $paths, $file)
    {
        if (!$this->_isAtom($file)) {
            return [$file];
        }

        $appendFile = function($path) use($file) {
            return $this->_joinPaths($path, $file);
        };

        return array_map($appendFile, $paths);
    }
protected function _appendFileToPaths(array $paths, $file)
    {
        if (!$this->_isAtom($file)) {
            return [$file];
        }

        $appendFile = function($path) use($file) {
            return $this->_joinPaths($path, $file);
        };

        return array_map($appendFile, $paths);
    }
protected function _appendFileToPaths ( array $ paths , $ file ) { if ( ! $ this -> _isAtom ( $ file ) ) { return [ $ file ] ; } $ appendFile = function ( $ path ) use ( $ file ) { return $ this -> _joinPaths ( $ path , $ file ) ; } ; return array_map ( $ appendFile , $ paths ) ; }
Append the filename to the array of paths.

@param array $paths The paths to append to.
@param string $file The filename.
@return array The paths with the file name appended.
Append the filename to the array of paths .