country = $country; } /** * Returns count of location. * * @param array $filter * * @return int */ public function count() { return 0; } /** * Find location by slug. * * @param array $filter * * @return int */ public function location($slug) { return $this->location ->findBySlug($slig) ->toArray(); } }