scan();
foreach ($networks as $network) {
echo $network->name . '
';
echo $network->strength . '
';
// Otros datos disponibles: $network->mac, $network->encryptionType, $network->channel, etc.
echo '
';
}
}
/**
* Define the command's schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
public function schedule(Schedule $schedule): void
{
// $schedule->command(static::class)->everyMinute();
}
}