roleRepository = $roleRepository; } public function getAll() { return $this->roleRepository::all(); } }