private function getAppearsOnStatement(UserInterface $user) { if ($user instanceof Group) { return $user->getAcronym() ?: mb_substr($user->getOfficialName(), 0, 5); } return 'PowerlineAppPay'; }