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