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