public static function getTypeByExtension(ExtensionContract $extension) : string {
        if($extension->isRequired()) {
            return self::TYPE_CORE;
        }

        return self::TYPE_ADDITIONAL;
    }