Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Livewire\Features\SupportConsoleCommands\Commands\Upgrade; use Livewire\..

Decoded Output download

<?php

namespace Livewire\Features\SupportConsoleCommands\Commands\Upgrade;

use Livewire\Features\SupportConsoleCommands\Commands\UpgradeCommand;

class RemoveDeferModifierFromWireModelDirectives extends UpgradeStep
{
    public function handle(UpgradeCommand $console, \Closure $next)
    {
        $this->interactiveReplacement(
            console: $console,
            title: 'The wire:model directive is now deferred by default.',
            before: 'wire:model.defer',
            after: 'wire:model',
            pattern: '/wire:model\.defer/',
            replacement: 'wire:model',
        );

        return $next($console);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Livewire\Features\SupportConsoleCommands\Commands\Upgrade;

use Livewire\Features\SupportConsoleCommands\Commands\UpgradeCommand;

class RemoveDeferModifierFromWireModelDirectives extends UpgradeStep
{
    public function handle(UpgradeCommand $console, \Closure $next)
    {
        $this->interactiveReplacement(
            console: $console,
            title: 'The wire:model directive is now deferred by default.',
            before: 'wire:model.defer',
            after: 'wire:model',
            pattern: '/wire:model\.defer/',
            replacement: 'wire:model',
        );

        return $next($console);
    }
}

Function Calls

None

Variables

None

Stats

MD5 1cf510e1be01b511d9649a2edcd19e38
Eval Count 0
Decode Time 111 ms