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