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 App\Models\Service; use Closure; use Ill..

Decoded Output download

<?php

namespace App\View\Components\Status;

use App\Models\Service;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;

class Services extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct(
        public Service $service,
        public string $complexStatus = 'exited',
        public bool $showRefreshButton = true
    ) {
        $this->complexStatus = $service->status();
    }

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

Did this file decode correctly?

Original Code

<?php

namespace App\View\Components\Status;

use App\Models\Service;
use Closure;
use Illuminate\Contracts\View\View;
use Illuminate\View\Component;

class Services extends Component
{
    /**
     * Create a new component instance.
     */
    public function __construct(
        public Service $service,
        public string $complexStatus = 'exited',
        public bool $showRefreshButton = true
    ) {
        $this->complexStatus = $service->status();
    }

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

Function Calls

None

Variables

None

Stats

MD5 e4c5477cba51b8d8364a9d555d483e0e
Eval Count 0
Decode Time 97 ms