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