Back to ConsoleApplication class

Method execute

public void
execute
()
Execute the application.
Returns
  • void
Since
  • 4.0.0
-
  • \Throwable

Method execute - Source code

/**
 * Execute the application.
 *
 * @return  void
 *
 * @since   4.0.0
 * @throws  \Throwable
 */
public function execute()
{
    // Load extension namespaces
    $this->createExtensionNamespaceMap();
    // Import CMS plugin groups to be able to subscribe to events
    PluginHelper::importPlugin('system');
    PluginHelper::importPlugin('console');
    parent::execute();
}