private function assertRequiredExtensionsIsPresent()
    {
        $extensionRequires = $this->config->get('extensions', 'requires');
        if (true === empty($extensionRequires)) {
            return;
        }

        $extensions = [];
        foreach ($extensionRequires as $key => $value) {
            if (false === \extension_loaded($value)) {
                $extensions[] = $value;
            }
        }

        if (false === empty($extensions)) {
            throw new RuntimeException(
                sprintf(
                    'Could not load extension: %s. You must add extensions above before build this extension.',
                    implode(', ', $extensions)
                )
            );
        }
    }