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\Console\Commands; use App\Services\LibraryManager; use Illuminate\Co..

Decoded Output download

<?php

namespace App\Console\Commands;

use App\Services\LibraryManager;
use Illuminate\Console\Command;

class PruneLibraryCommand extends Command
{
    protected $signature = 'koel:prune';
    protected $description = 'Remove empty artists and albums';

    public function __construct(private LibraryManager $libraryManager)
    {
        parent::__construct();
    }

    public function handle(): int
    {
        $this->libraryManager->prune();
        $this->info('Empty artists and albums removed.');

        return self::SUCCESS;
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\Console\Commands;

use App\Services\LibraryManager;
use Illuminate\Console\Command;

class PruneLibraryCommand extends Command
{
    protected $signature = 'koel:prune';
    protected $description = 'Remove empty artists and albums';

    public function __construct(private LibraryManager $libraryManager)
    {
        parent::__construct();
    }

    public function handle(): int
    {
        $this->libraryManager->prune();
        $this->info('Empty artists and albums removed.');

        return self::SUCCESS;
    }
}

Function Calls

None

Variables

None

Stats

MD5 510288f23c42fb57f232f712fe4d429a
Eval Count 0
Decode Time 83 ms