mirror of
https://github.com/openclassify/openclassify.git
synced 2026-03-09 09:45:26 -05:00
11 lines
263 B
PHP
11 lines
263 B
PHP
<?php namespace Visiosoft\LocationModule\City;
|
|
|
|
use Anomaly\Streams\Platform\Entry\EntryCriteria;
|
|
|
|
class CityCriteria extends EntryCriteria
|
|
{
|
|
public function getSubCities($city) {
|
|
return $this->query->where('parent_country_id', $city)->get();
|
|
}
|
|
}
|