src/CronHelper/Controller/IndexController.php
public function indexAction()
	{
		if (!$this->isConsoleRequest()) {
			throw new \RuntimeException('You can only use this action from a console!');
		}

		$console = $this->getConsole();
		$this->printConsoleBanner($console);

		$console->writeLine('TODO Finish indexAction!', ConsoleColor::LIGHT_RED);
	}
public function indexAction()
	{
		if (!$this->isConsoleRequest()) {
			throw new \RuntimeException('You can only use this action from a console!');
		}

		$console = $this->getConsole();
		$this->printConsoleBanner($console);

		$console->writeLine('TODO Finish indexAction!', ConsoleColor::LIGHT_RED);
	}
Main action.

@return void
@throws \RuntimeException Whenever is action accessed not via console request.