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 App\View\Components; use Closure; use Illuminate\Contracts\View\View; us..

Decoded Output download

<?php

namespace App\View\Components;

use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;

class Modal extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct(
        public string $modalId,
        public ?string $submitWireAction = null,
        public ?string $modalTitle = null,
        public ?string $modalBody = null,
        public ?string $modalSubmit = null,
        public bool $noSubmit = false,
        public bool $yesOrNo = false,
        public string $action = 'delete'
    ) {
        //
    }

    /**
     * Get the view / contents that represent the component.
     */
    public function render(): View|Closure|string
    {
        return view('components.modal');
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\View\Components;

use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;

class Modal extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct(
        public string $modalId,
        public ?string $submitWireAction = null,
        public ?string $modalTitle = null,
        public ?string $modalBody = null,
        public ?string $modalSubmit = null,
        public bool $noSubmit = false,
        public bool $yesOrNo = false,
        public string $action = 'delete'
    ) {
        //
    }

    /**
     * Get the view / contents that represent the component.
     */
    public function render(): View|Closure|string
    {
        return view('components.modal');
    }
}

Function Calls

None

Variables

None

Stats

MD5 6e171daaa5a5558091870fad86909dc3
Eval Count 0
Decode Time 102 ms