original_string: public function get($key = null)
      {
          if ($key === null) {
              return $this;
          }
          
          if (!isset($this->modules[$key])) {
              throw new ModuleDoesntExistException($key);
          }
          
          return $this->modules[$key];
      }
code: public function get($key = null)
      {
          if ($key === null) {
              return $this;
          }
          
          if (!isset($this->modules[$key])) {
              throw new ModuleDoesntExistException($key);
          }
          
          return $this->modules[$key];
      }
code_tokens: public function get ( $ key = null ) { if ( $ key === null ) { return $ this ; } if ( ! isset ( $ this -> modules [ $ key ] ) ) { throw new ModuleDoesntExistException ( $ key ) ; } return $ this -> modules [ $ key ] ; }
docstring: Retrieve a registered module
  
  @param  string|null $key
  @return \GibbonCms\Gibbon\Modules\Module|self
docstring_tokens: Retrieve a registered module