public function getModule($name)
    {
        if ($this->isLoaded($name)) {
            return $this->loaded[$name];
        } else {
            return $this->loadModuleByName($name);
        }
    }
public function getModule($name)
    {
        if ($this->isLoaded($name)) {
            return $this->loaded[$name];
        } else {
            return $this->loadModuleByName($name);
        }
    }
public function getModule ( $ name ) { if ( $ this -> isLoaded ( $ name ) ) { return $ this -> loaded [ $ name ] ; } else { return $ this -> loadModuleByName ( $ name ) ; } }
Returns module instance by its name

@param object $name
@return \Krystal\Application\Module\AbstractModule
Returns module instance by its name