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 Webkul\CatalogRule\Jobs; use Illuminate\Bus\Queueable; use Illuminate\Co..
Decoded Output download
<?php
namespace Webkul\CatalogRule\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Webkul\CatalogRule\Helpers\CatalogRuleIndex;
class UpdateCreateProductIndex implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*
* @param \Webkul\Product\Contracts\Product $product
* @return void
*/
public function __construct(protected $product)
{
$this->product = $product;
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
app(CatalogRuleIndex::class)->reIndexProduct($this->product);
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Webkul\CatalogRule\Jobs;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Webkul\CatalogRule\Helpers\CatalogRuleIndex;
class UpdateCreateProductIndex implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Create a new job instance.
*
* @param \Webkul\Product\Contracts\Product $product
* @return void
*/
public function __construct(protected $product)
{
$this->product = $product;
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
app(CatalogRuleIndex::class)->reIndexProduct($this->product);
}
}
Function Calls
None |
Stats
MD5 | 68bc58275657ab46bbed6b60604a0340 |
Eval Count | 0 |
Decode Time | 105 ms |