openclassify/addons/default/visiosoft/location-module/src/Country/Command/GetCountries.php
2020-03-19 12:48:01 +03:00

13 lines
236 B
PHP

<?php namespace Visiosoft\LocationModule\Country\Command;
use Visiosoft\LocationModule\Country\CountryModel;
class GetCountries
{
public function handle(CountryModel $groups)
{
return $groups::query()->get();
}
}