public static function isCygwin() : bool
    {
        // Return the cached result if it's already available.
        if (null !== static::$type) {
            return static::$type === self::TYPE_CYGWIN;
        }

        return static::getType() === self::TYPE_CYGWIN;
    }