/** * Get the list of streets in the current city * * @param int $city_id City id * @return array */ public static function getStreetsByCity($city_id) { return Street::findAll(['city_id' => $city_id]); }
/** * Get the list of streets in the current city * * @param int $city_id City id * @return array */ public static function getStreetsByCity($city_id) { return Street::findAll(['city_id' => $city_id]); }