src/Modules/ModuleManager.php
public function get($key)
    {
        if ( ! $this->has($key)) {
            return false;
        }

        return $this->modules->get($key);
    }
public function get($key)
    {
        if ( ! $this->has($key)) {
            return false;
        }

        return $this->modules->get($key);
    }
public function get ( $ key ) { if ( ! $ this -> has ( $ key ) ) { return false ; } return $ this -> modules -> get ( $ key ) ; }
Returns a module by key.

@param string $key
@return ModuleInterface|false
Returns a module by key .