public static function group(String $file)
    {
        $file = self::rpath($file);

        if( ! file_exists($file) )
        {
            throw new Exception\FileNotFoundException(NULL, $file);
        }

        $group = filegroup($file);

        if( function_exists('posix_getgrgid') )
        {
            return posix_getgrgid($group);
        }
        else
        {
            return $group;
        }
    }
public static function group(String $file)
    {
        $file = self::rpath($file);

        if( ! file_exists($file) )
        {
            throw new Exception\FileNotFoundException(NULL, $file);
        }

        $group = filegroup($file);

        if( function_exists('posix_getgrgid') )
        {
            return posix_getgrgid($group);
        }
        else
        {
            return $group;
        }
    }
public static function group ( String $ file ) { $ file = self :: rpath ( $ file ) ; if ( ! file_exists ( $ file ) ) { throw new Exception \ FileNotFoundException ( NULL , $ file ) ; } $ group = filegroup ( $ file ) ; if ( function_exists ( 'posix_getgrgid' ) ) { return posix_getgrgid ( $ group ) ; } else { return $ group ; } }
Get file group

@param string $file

@return array|int
Get file group