Back to CliApplication class

Method execute

public void
execute
()
Execute the application.
Returns
  • void
Since
  • 1.7.0

Method execute - Source code

/**
 * Execute the application.
 *
 * @return  void
 *
 * @since   1.7.0
 */
public function execute()
{
    $this->createExtensionNamespaceMap();
    // Trigger the onBeforeExecute event
    $this->triggerEvent('onBeforeExecute');
    // Perform application routines.
    $this->doExecute();
    // Trigger the onAfterExecute event.
    $this->triggerEvent('onAfterExecute');
}