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