Skip to content

Instantly share code, notes, and snippets.

/entities.php Secret

Created May 25, 2017 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/0c0856148d937d4ffcb2be9581cf8163 to your computer and use it in GitHub Desktop.
Save anonymous/0c0856148d937d4ffcb2be9581cf8163 to your computer and use it in GitHub Desktop.
$patchedEntity:
object(Cake\ORM\Entity) {
'id' => (int) 157,
'created' => object(Cake\I18n\FrozenTime) {
'time' => '2017-05-22T15:33:00+00:00',
'timezone' => 'UTC',
'fixedNowTime' => false
},
'modified' => object(Cake\I18n\FrozenTime) {
'time' => '2017-05-25T20:52:31+00:00',
'timezone' => 'UTC',
'fixedNowTime' => false
},
'attachments' => [
(int) 0 => object(Cake\ORM\Entity) {
'file_id' => (int) 932,
'is_active' => true,
'[new]' => true,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'file_id' => true,
'is_active' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Attachments'
}
],
'editable_pointpair' => '',
'duplicate_deficiency' => '',
'uploaded_from_plugin' => '',
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'attachments' => true
],
'[original]' => [
],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Results'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment