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 declare(strict_types=1); namespace Passbolt\AccountSettings\Model\Entity; use Cake..
Decoded Output download
<?php
declare(strict_types=1);
namespace Passbolt\AccountSettings\Model\Entity;
use Cake\ORM\Entity;
/**
* UsersSetting Entity
*
* @property string $id
* @property string $user_id
* @property string $property
* @property string $value
* @property \Cake\I18n\FrozenTime|null $created
* @property \Cake\I18n\FrozenTime|null $modified
*
* @property \App\Model\Entity\User $user
* @property string $property_id
*/
class AccountSetting extends Entity
{
/**
* Fields that can be mass assigned using newEntity() or patchEntity().
*
* @var array<string, bool>
*/
protected $_accessible = [
'user_id' => true,
'property_id' => true,
'property' => true,
'value' => true,
'created' => true,
'modified' => true,
];
public const SUPPORTED_PROPERTIES = [
'theme', 'mfa', 'locale',
];
public const UUID_NAMESPACE = 'account.settings.property.id.';
}
?>
Did this file decode correctly?
Original Code
<?php
declare(strict_types=1);
namespace Passbolt\AccountSettings\Model\Entity;
use Cake\ORM\Entity;
/**
* UsersSetting Entity
*
* @property string $id
* @property string $user_id
* @property string $property
* @property string $value
* @property \Cake\I18n\FrozenTime|null $created
* @property \Cake\I18n\FrozenTime|null $modified
*
* @property \App\Model\Entity\User $user
* @property string $property_id
*/
class AccountSetting extends Entity
{
/**
* Fields that can be mass assigned using newEntity() or patchEntity().
*
* @var array<string, bool>
*/
protected $_accessible = [
'user_id' => true,
'property_id' => true,
'property' => true,
'value' => true,
'created' => true,
'modified' => true,
];
public const SUPPORTED_PROPERTIES = [
'theme', 'mfa', 'locale',
];
public const UUID_NAMESPACE = 'account.settings.property.id.';
}
Function Calls
None |
Stats
MD5 | 0e75570751bfa5746a3ef9b2e5b280e9 |
Eval Count | 0 |
Decode Time | 82 ms |