src/Module/Modules/Module.php
protected function reloadModule(Wrapper $wrapper, $module)
    {
        $moduleStatus = $wrapper->ModuleManager->reload($module);

        $module = Inflector::camelize($module);

        switch ($moduleStatus) {
            //AlreadyUnloaded
            case 'AU':
                $wrapper->Channel->sendMessage('The Module `' . $module . '` doesn\'t exist and cannot be reloaded.');
                break;

            //AlreadyLoaded
            case 'AL':
                $wrapper->Channel->sendMessage('The Module `' . $module . '` is already loaded.');
                break;

            //Loaded
            case 'L':
                $wrapper->Channel->sendMessage('Module `' . $module . '` reloaded successfully.');
                break;

            //NotFound
            case 'NF':
                $wrapper->Channel->sendMessage('Failed to reload the Module `' . $module . '`.');
                break;
        }
    }
protected function reloadModule(Wrapper $wrapper, $module)
    {
        $moduleStatus = $wrapper->ModuleManager->reload($module);

        $module = Inflector::camelize($module);

        switch ($moduleStatus) {
            //AlreadyUnloaded
            case 'AU':
                $wrapper->Channel->sendMessage('The Module `' . $module . '` doesn\'t exist and cannot be reloaded.');
                break;

            //AlreadyLoaded
            case 'AL':
                $wrapper->Channel->sendMessage('The Module `' . $module . '` is already loaded.');
                break;

            //Loaded
            case 'L':
                $wrapper->Channel->sendMessage('Module `' . $module . '` reloaded successfully.');
                break;

            //NotFound
            case 'NF':
                $wrapper->Channel->sendMessage('Failed to reload the Module `' . $module . '`.');
                break;
        }
    }
Function to reload a Module and send the response.

@param \Skinny\Network\Wrapper $wrapper The Wrapper instance.
@param string $module The module to reload.

@return void