original_string: public function get(string $name = null): \TheCMSThread\Classes\Plugin
      {
          if (empty($name) === false && empty($this->plugins[$name]) === false) {
              return $this->plugins[$name];
          } else {
              throw new \InvalidArgumentException("Plugin not found");
          }
      }
code: public function get(string $name = null): \TheCMSThread\Classes\Plugin
      {
          if (empty($name) === false && empty($this->plugins[$name]) === false) {
              return $this->plugins[$name];
          } else {
              throw new \InvalidArgumentException("Plugin not found");
          }
      }
code_tokens: public function get ( string $ name = null ) : \ TheCMSThread \ Classes \ Plugin { if ( empty ( $ name ) === false && empty ( $ this -> plugins [ $ name ] ) === false ) { return $ this -> plugins [ $ name ] ; } else { throw new \ InvalidArgumentException ( "Plugin not found" ) ; } }
docstring: Returns a plugin object
  
  @param   string  $name   The name the plugin is registered under.
  
  @return  TheCMSThread\Classes\Plugin
  
  @throws  InvalidArgumentException
docstring_tokens: Returns a plugin object