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\Models; use App\Events\GoodsGroupDeleted; use Illuminate\Database\E..
Decoded Output download
<?php
namespace App\Models;
use App\Events\GoodsGroupDeleted;
use Illuminate\Database\Eloquent\SoftDeletes;
class GoodsGroup extends BaseModel
{
use SoftDeletes;
protected $table = 'goods_group';
protected $dispatchesEvents = [
'deleted' => GoodsGroupDeleted::class
];
/**
*
*
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*
* @author assimon<[email protected]>
* @copyright assimon<[email protected]>
* @link http://utf8.hk/
*/
public function goods()
{
return $this->hasMany(Goods::class, 'group_id');
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace App\Models;
use App\Events\GoodsGroupDeleted;
use Illuminate\Database\Eloquent\SoftDeletes;
class GoodsGroup extends BaseModel
{
use SoftDeletes;
protected $table = 'goods_group';
protected $dispatchesEvents = [
'deleted' => GoodsGroupDeleted::class
];
/**
*
*
* @return \Illuminate\Database\Eloquent\Relations\HasMany
*
* @author assimon<[email protected]>
* @copyright assimon<[email protected]>
* @link http://utf8.hk/
*/
public function goods()
{
return $this->hasMany(Goods::class, 'group_id');
}
}
Function Calls
None |
Stats
MD5 | 067e75ba3c95cae33b2db25f45001f29 |
Eval Count | 0 |
Decode Time | 102 ms |