protected function _extractType(string $type) : string
    {
        if (preg_match(static::PATTERN_TYPE, $type, $matches)) {
            if (! empty($matches[1])) {
                return $matches[1];
            }
        }

        return $type;
    }