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