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\Category\Models; use Illuminate\Database\Eloquent\Factories\Facto..
Decoded Output download
<?php
namespace Webkul\Category\Models;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Webkul\Category\Contracts\CategoryTranslation as CategoryTranslationContract;
use Webkul\Category\Database\Factories\CategoryTranslationFactory;
class CategoryTranslation extends Model implements CategoryTranslationContract
{
use HasFactory;
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = false;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'description',
'slug',
'meta_title',
'meta_description',
'meta_keywords',
'locale_id',
];
/**
* Create a new factory instance for the model.
*/
protected static function newFactory(): Factory
{
return CategoryTranslationFactory::new();
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Webkul\Category\Models;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Webkul\Category\Contracts\CategoryTranslation as CategoryTranslationContract;
use Webkul\Category\Database\Factories\CategoryTranslationFactory;
class CategoryTranslation extends Model implements CategoryTranslationContract
{
use HasFactory;
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = false;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name',
'description',
'slug',
'meta_title',
'meta_description',
'meta_keywords',
'locale_id',
];
/**
* Create a new factory instance for the model.
*/
protected static function newFactory(): Factory
{
return CategoryTranslationFactory::new();
}
}
Function Calls
None |
Stats
MD5 | 827702d8fb4efc2af9874725c771fa78 |
Eval Count | 0 |
Decode Time | 119 ms |