src/Dir/Dir.php
public static function _dirFlags($options)
    {
        $flag = $options['followSymlinks'] ? FilesystemIterator::FOLLOW_SYMLINKS : 0;
        $flag |= $options['skipDots'] ? FilesystemIterator::SKIP_DOTS : 0;
        $flag |= FilesystemIterator::UNIX_PATHS;
        return $flag;
    }
public static function _dirFlags($options)
    {
        $flag = $options['followSymlinks'] ? FilesystemIterator::FOLLOW_SYMLINKS : 0;
        $flag |= $options['skipDots'] ? FilesystemIterator::SKIP_DOTS : 0;
        $flag |= FilesystemIterator::UNIX_PATHS;
        return $flag;
    }
public static function _dirFlags ( $ options ) { $ flag = $ options [ 'followSymlinks' ] ? FilesystemIterator :: FOLLOW_SYMLINKS : 0 ; $ flag |= $ options [ 'skipDots' ] ? FilesystemIterator :: SKIP_DOTS : 0 ; $ flag |= FilesystemIterator :: UNIX_PATHS ; return $ flag ; }
Returns `FilesystemIterator` flags from `Dir` options.

@param  array   $options Scanning options. Possible values are:
-`'skipDots'`       _boolean_ : Keeps '.' and '..' if `true`.
-`'followSymlinks'` _boolean_ : Follows Symlinks if `true`.
@return integer          Some `FilesystemIterator` flags
Returns FilesystemIterator flags from Dir options .