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\Status; use Closure; use Illuminate\Contracts\View\V..

Decoded Output download

<?php

namespace App\View\Components\Status;

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

class Index extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct(
        public $resource = null,
        public bool $showRefreshButton = true,
    ) {
    }

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

Did this file decode correctly?

Original Code

<?php

namespace App\View\Components\Status;

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

class Index extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct(
        public $resource = null,
        public bool $showRefreshButton = true,
    ) {
    }

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

Function Calls

None

Variables

None

Stats

MD5 3ef3c93f32399c8eebf953cf716c2aa0
Eval Count 0
Decode Time 91 ms