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