Relative Content

Tag Archive for syntax-error

syntax error, unexpected single-quoted string “, trans laravel project

@component(‘IlluminateViewAnonymousComponent’, ‘plugins-payment::payment-method’, [‘view’ => ‘5f904723f777e9efa2e1d7ccfd86bcbd::payment-method’,’data’ => [‘name’ => BotblePaymentEnumsPaymentMethodEnum::vodafone_cash,’label’ => get_payment_setting(‘name’, vodafone_cash’, trans(‘plugins/payment::payment.payment_via_vodafone_cash’))]]) <?php if (isset($attributes) && $attributes instanceof IlluminateViewComponentAttributeBag && $constructor = (new ReflectionClass(IlluminateViewAnonymousComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes([‘name’ => IlluminateViewCompilersBladeCompiler::sanitizeComponentAttribute(BotblePaymentEnumsPaymentMethodEnum::vodafone_cash),’label’ => IlluminateViewCompilersBladeCompiler::sanitizeComponentAttribute(get_payment_setting(‘name’, vodafone_cash’, trans(‘plugins/payment::payment.payment_via_vodafone_cash’)))]); ?> <?php $minimumOrderAmount = get_payment_setting(‘minimum_amount’, ‘vodafone_cash’, 0); ?> @if ($minimumOrderAmount > Cart::instance(‘cart’)->rawSubTotal()) I’m […]

Homework questions

I have these homework questions for a summer course I am taking and I am honestly lost on where to begin with answering them because I have no idea on what to do. So if anyone can help me please help me.