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