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