Page MenuHomePhorge

RoomsCommand.php
No OneTemporary

Authored By
Unknown
Size
638 B
Referenced Files
None
Subscribers
None

RoomsCommand.php

<?php
namespace App\Console\Commands\Meet;
use App\Console\Command;
use App\Meet\Room;
class RoomsCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'meet:rooms';
/**
* The console command description.
*
* @var string
*/
protected $description = 'List Meet rooms';
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$rooms = Room::all();
foreach ($rooms as $room) {
$this->info("{$room->name}");
}
}
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Apr 4, 2:50 AM (5 d, 1 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18822294
Default Alt Text
RoomsCommand.php (638 B)

Event Timeline