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