Recuperación del modelo Laravel
use App\Models\Flight;
foreach (Flight::all() as $flight) {
echo $flight->name;
}
Cooperative Crab
use App\Models\Flight;
foreach (Flight::all() as $flight) {
echo $flight->name;
}