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\Jobs; use App\Models\Song; use App\Models\User; use App\Services\Las..
Decoded Output download
<?php
namespace App\Jobs;
use App\Models\Song;
use App\Models\User;
use App\Services\LastfmService;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class ScrobbleJob implements ShouldQueue
{
use Dispatchable;
use InteractsWithQueue;
use Queueable;
use SerializesModels;
public function __construct(public User $user, public Song $song, public int $timestamp)
{
}
public function handle(LastfmService $lastfmService): void
{
$lastfmService->scrobble($this->song, $this->user, $this->timestamp);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace App\Jobs;
use App\Models\Song;
use App\Models\User;
use App\Services\LastfmService;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class ScrobbleJob implements ShouldQueue
{
use Dispatchable;
use InteractsWithQueue;
use Queueable;
use SerializesModels;
public function __construct(public User $user, public Song $song, public int $timestamp)
{
}
public function handle(LastfmService $lastfmService): void
{
$lastfmService->scrobble($this->song, $this->user, $this->timestamp);
}
}
Function Calls
| None |
Stats
| MD5 | 5e2cfea0ca4b133619a6073d002e7431 |
| Eval Count | 0 |
| Decode Time | 125 ms |