public function deleteUser(User $user) { $returnValue = $this->service->deleteUser($user); $this->signalDispatcher->emit(new DeleteUserSignal(array('userId' => $user->id, 'affectedLocationIds' => $returnValue))); return $returnValue; }