src/Modules.php
public function get($name)
    {
        if (! isset($this->container[$name])) {
            throw new RuntimeException(
                sprintf(
                    'Module "%s" is not found',
                    $name
                )
            );
        }

        return $this->container[$name];
    }
public function get($name)
    {
        if (! isset($this->container[$name])) {
            throw new RuntimeException(
                sprintf(
                    'Module "%s" is not found',
                    $name
                )
            );
        }

        return $this->container[$name];
    }
public function get ( $ name ) { if ( ! isset ( $ this -> container [ $ name ] ) ) { throw new RuntimeException ( sprintf ( 'Module "%s" is not found' , $ name ) ) ; } return $ this -> container [ $ name ] ; }
Gets the module.

@param string $name The module name

@throws \RuntimeException If module is not found

@return AbstractModule The module
Gets the module .