BusinessPaymentExtension
extends AbstractExtension
in package
Expose l'état de paiement d'un compte entreprise aux templates d'administration.
Fonction Twig : business_payment_state(user: User): string — paid, offline, online_pending,
online_failed ou none (voir BusinessPaymentStateService).
Table of Contents
Properties
Methods
- __construct() : mixed
- getFunctions() : array<string|int, mixed>
Properties
$stateService read-only
private
BusinessPaymentStateService
$stateService
Methods
__construct()
public
__construct(BusinessPaymentStateService $stateService) : mixed
Parameters
- $stateService : BusinessPaymentStateService
getFunctions()
public
getFunctions() : array<string|int, mixed>