app\models\AccountGateway::paymentDriver PHP Méthode

paymentDriver() public méthode

public paymentDriver ( boolean $invitation = false, mixed $gatewayTypeId = false ) : mixed
$invitation boolean
$gatewayTypeId mixed
Résultat mixed
    public function paymentDriver($invitation = false, $gatewayTypeId = false)
    {
        $class = static::paymentDriverClass($this->gateway->provider);
        return new $class($this, $invitation, $gatewayTypeId);
    }