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