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\Common; use App\Abstracts\Job; use App\Models\Common\Contact; ..
Decoded Output download
<?php
namespace App\Jobs\Common;
use App\Abstracts\Job;
use App\Models\Common\Contact;
class DuplicateContact extends Job
{
protected $clone;
public function __construct(Contact $model)
{
$this->model = $model;
parent::__construct($model);
}
public function handle(): Contact
{
\DB::transaction(function () {
$this->clone = $this->model->duplicate();
});
return $this->clone;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace App\Jobs\Common;
use App\Abstracts\Job;
use App\Models\Common\Contact;
class DuplicateContact extends Job
{
protected $clone;
public function __construct(Contact $model)
{
$this->model = $model;
parent::__construct($model);
}
public function handle(): Contact
{
\DB::transaction(function () {
$this->clone = $this->model->duplicate();
});
return $this->clone;
}
}
Function Calls
None |
Stats
MD5 | 2b17463b1cb101c97ed462dba2ac40a5 |
Eval Count | 0 |
Decode Time | 99 ms |