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