private function notify($message)
    {
        if ($this->output !== null) {
            $this->output->writeln("<info>{$message}</info>");
        }

        $this->app['logger.system']->info($message, ['event' => 'cron']);
    }
private function notify($message)
    {
        if ($this->output !== null) {
            $this->output->writeln("<info>{$message}</info>");
        }

        $this->app['logger.system']->info($message, ['event' => 'cron']);
    }
private function notify ( $ message ) { if ( $ this -> output !== null ) { $ this -> output -> writeln ( "<info>{$message}</info>" ) ; } $ this -> app [ 'logger.system' ] -> info ( $ message , [ 'event' => 'cron' ] ) ; }
If we're passed an OutputInterface, we're called from Nut and can notify
the end user.

@param string $message
If we re passed an OutputInterface we re called from Nut and can notify the end user .