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