public function handle()
    {
        $this->info('Starting Custom Witness command...');

        foreach ($this->eye->getCustomWitnesses(true) as $witness) {
            $this->info('Running: '.$witness->getSafeName());

            $status = $this->runWitness($witness);
            $witness->saveHistory($status);
            $witness->checkHealth($status);
        }

        $this->info('Custom Witness command complete...');
    }
public function handle()
    {
        $this->info('Starting Custom Witness command...');

        foreach ($this->eye->getCustomWitnesses(true) as $witness) {
            $this->info('Running: '.$witness->getSafeName());

            $status = $this->runWitness($witness);
            $witness->saveHistory($status);
            $witness->checkHealth($status);
        }

        $this->info('Custom Witness command complete...');
    }
public function handle ( ) { $ this -> info ( 'Starting Custom Witness command...' ) ; foreach ( $ this -> eye -> getCustomWitnesses ( true ) as $ witness ) { $ this -> info ( 'Running: ' . $ witness -> getSafeName ( ) ) ; $ status = $ this -> runWitness ( $ witness ) ; $ witness -> saveHistory ( $ status ) ; $ witness -> checkHealth ( $ status ) ; } $ this -> info ( 'Custom Witness command complete...' ) ; }
Execute the custom console command.

@return void
Execute the custom console command .