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