Back to ComponentAdapter class

Method parseQueries

protected void
parseQueries
()
Method to parse the queries specified in the `<sql>` tags
Returns
  • void
Since
  • 4.0.0
-
  • \RuntimeException

Method parseQueries - Source code

/**
 * Method to parse the queries specified in the `<sql>` tags
 *
 * @return  void
 *
 * @since   4.0.0
 * @throws  \RuntimeException
 */
protected function parseQueries()
{
    parent::parseQueries();
    // We have extra tasks to run for the uninstall path
    if ($this->route === 'uninstall') {
        $this->_removeAdminMenus($this->extension->extension_id);
    }
}