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