Laravel Model Retrieve
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;
}