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\Providers; use Illuminate\Support\ServiceProvider; us..
Decoded Output download
<?php
namespace Webkul\CatalogRule\Providers;
use Illuminate\Support\ServiceProvider;
use Webkul\CatalogRule\Console\Commands\PriceRuleIndex;
class CatalogRuleServiceProvider extends ServiceProvider
{
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
$this->loadMigrationsFrom(__DIR__.'/../Database/Migrations');
$this->app->register(EventServiceProvider::class);
}
/**
* Register services.
*
* @return void
*/
public function register()
{
$this->registerCommands();
}
/**
* Register the console commands of this package.
*/
protected function registerCommands()
{
if ($this->app->runningInConsole()) {
$this->commands([PriceRuleIndex::class]);
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Webkul\CatalogRule\Providers;
use Illuminate\Support\ServiceProvider;
use Webkul\CatalogRule\Console\Commands\PriceRuleIndex;
class CatalogRuleServiceProvider extends ServiceProvider
{
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
$this->loadMigrationsFrom(__DIR__.'/../Database/Migrations');
$this->app->register(EventServiceProvider::class);
}
/**
* Register services.
*
* @return void
*/
public function register()
{
$this->registerCommands();
}
/**
* Register the console commands of this package.
*/
protected function registerCommands()
{
if ($this->app->runningInConsole()) {
$this->commands([PriceRuleIndex::class]);
}
}
}
Function Calls
None |
Stats
MD5 | 53732f3a14878daf10e9385fa0557e9b |
Eval Count | 0 |
Decode Time | 115 ms |