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