protected function recordOrphans($master)
    {
        $this->processes->orphaned(
            $master, $orphans = $this->inspector->orphaned()
        );

        foreach ($orphans as $processId) {
            $this->info("Observed Orphan: {$processId}");

            if (! posix_kill($processId, SIGTERM)) {
                $this->error("Failed to kill process for Orphan: {$processId} (".posix_strerror(posix_get_last_error()).')');
            }
        }
    }
protected function recordOrphans($master)
    {
        $this->processes->orphaned(
            $master, $orphans = $this->inspector->orphaned()
        );

        foreach ($orphans as $processId) {
            $this->info("Observed Orphan: {$processId}");

            if (! posix_kill($processId, SIGTERM)) {
                $this->error("Failed to kill process for Orphan: {$processId} (".posix_strerror(posix_get_last_error()).')');
            }
        }
    }
protected function recordOrphans ( $ master ) { $ this -> processes -> orphaned ( $ master , $ orphans = $ this -> inspector -> orphaned ( ) ) ; foreach ( $ orphans as $ processId ) { $ this -> info ( "Observed Orphan: {$processId}" ) ; if ( ! posix_kill ( $ processId , SIGTERM ) ) { $ this -> error ( "Failed to kill process for Orphan: {$processId} (" . posix_strerror ( posix_get_last_error ( ) ) . ')' ) ; } } }
Record the orphaned Horizon processes.

@param  string  $master
@return void
Record the orphaned Horizon processes .