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