public function orphanedFor($master, $seconds)
    {
        $expiresAt = Chronos::now()->getTimestamp() - $seconds;

        return collect($this->allOrphans($master))->filter(function ($recordedAt, $_) use ($expiresAt) {
            return $expiresAt > $recordedAt;
        })->keys()->all();
    }
public function orphanedFor($master, $seconds)
    {
        $expiresAt = Chronos::now()->getTimestamp() - $seconds;

        return collect($this->allOrphans($master))->filter(function ($recordedAt, $_) use ($expiresAt) {
            return $expiresAt > $recordedAt;
        })->keys()->all();
    }
public function orphanedFor ( $ master , $ seconds ) { $ expiresAt = Chronos :: now ( ) -> getTimestamp ( ) - $ seconds ; return collect ( $ this -> allOrphans ( $ master ) ) -> filter ( function ( $ recordedAt , $ _ ) use ( $ expiresAt ) { return $ expiresAt > $ recordedAt ; } ) -> keys ( ) -> all ( ) ; }
Get the process IDs orphaned for at least the given number of seconds.

@param  string  $master
@param  int  $seconds
@return array
Get the process IDs orphaned for at least the given number of seconds .