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