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\Http\Controllers\API; use App\Http\Controllers\Controller; use App\H..

Decoded Output download

<?php

namespace App\Http\Controllers\API;

use App\Http\Controllers\Controller;
use App\Http\Requests\API\UpdatePlaybackStatusRequest;
use App\Models\User;
use App\Services\QueueService;
use Illuminate\Contracts\Auth\Authenticatable;

class UpdatePlaybackStatusController extends Controller
{
    /** @param User $user */
    public function __invoke(UpdatePlaybackStatusRequest $request, QueueService $queueService, Authenticatable $user)
    {
        $queueService->updatePlaybackStatus($user, $request->song, $request->position);

        return response()->noContent();
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\Http\Controllers\API;

use App\Http\Controllers\Controller;
use App\Http\Requests\API\UpdatePlaybackStatusRequest;
use App\Models\User;
use App\Services\QueueService;
use Illuminate\Contracts\Auth\Authenticatable;

class UpdatePlaybackStatusController extends Controller
{
    /** @param User $user */
    public function __invoke(UpdatePlaybackStatusRequest $request, QueueService $queueService, Authenticatable $user)
    {
        $queueService->updatePlaybackStatus($user, $request->song, $request->position);

        return response()->noContent();
    }
}

Function Calls

None

Variables

None

Stats

MD5 6a2a5cf5210f55d8c330f1e768be6cc6
Eval Count 0
Decode Time 133 ms