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\Auth; use App\Abstracts\JobShouldQueue; class NotifyUser exten..

Decoded Output download

<?php

namespace App\Jobs\Auth;

use App\Abstracts\JobShouldQueue;

class NotifyUser extends JobShouldQueue
{
    protected $user;

    protected $notification;

    /**
     * Create a new job instance.
     *
     * @param  $user
     * @param  $notification
     */
    public function __construct($user, $notification)
    {
        $this->user = $user;
        $this->notification = $notification;

        $this->onQueue('jobs');
    }

    /**
     * Execute the job.
     *
     * @return void
     */
    public function handle()
    {
        $this->user->notify($this->notification);
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace App\Jobs\Auth;

use App\Abstracts\JobShouldQueue;

class NotifyUser extends JobShouldQueue
{
    protected $user;

    protected $notification;

    /**
     * Create a new job instance.
     *
     * @param  $user
     * @param  $notification
     */
    public function __construct($user, $notification)
    {
        $this->user = $user;
        $this->notification = $notification;

        $this->onQueue('jobs');
    }

    /**
     * Execute the job.
     *
     * @return void
     */
    public function handle()
    {
        $this->user->notify($this->notification);
    }
}

Function Calls

None

Variables

None

Stats

MD5 1d1e2298a1a51b359256a24835f31810
Eval Count 0
Decode Time 83 ms