private function getFileOrDirectorySettings($settings, $key) {
        $filesOrDirectories = $settings->getOptional($key, array());
        if (!is_array($filesOrDirectories))
            $filesOrDirectories = array($filesOrDirectories);
        return $filesOrDirectories;
    }
private function getFileOrDirectorySettings($settings, $key) {
        $filesOrDirectories = $settings->getOptional($key, array());
        if (!is_array($filesOrDirectories))
            $filesOrDirectories = array($filesOrDirectories);
        return $filesOrDirectories;
    }
private function getFileOrDirectorySettings ( $ settings , $ key ) { $ filesOrDirectories = $ settings -> getOptional ( $ key , array ( ) ) ; if ( ! is_array ( $ filesOrDirectories ) ) $ filesOrDirectories = array ( $ filesOrDirectories ) ; return $ filesOrDirectories ; }
Returns plain settings arrays with file or directory specifications.
@param Settings $settings
@param string $key
@return array[]
Returns plain settings arrays with file or directory specifications .