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