Skip to content

Instantly share code, notes, and snippets.

@converge
Created May 21, 2015 18:08
Show Gist options
  • Select an option

  • Save converge/1e1d0a66a385e701bfcb to your computer and use it in GitHub Desktop.

Select an option

Save converge/1e1d0a66a385e701bfcb to your computer and use it in GitHub Desktop.
object(App\Model\Entity\Product) {
'new' => false,
'accessible' => [
'price_list_id' => true,
'category_id' => true,
'active' => true,
'price_list' => true,
'category' => true,
'order_lines' => true
],
'properties' => [
'description' => 'Descrição aqui',
'id' => (int) 8,
'price_list_id' => (int) 1,
'category_id' => (int) 1,
'ranking_position' => (int) 10000,
'active' => (int) 1,
'created' => object(Cake\I18n\Time) {
'time' => '2015-05-18T20:10:40+0000',
'timezone' => 'UTC',
'fixedNowTime' => false
},
'modified' => object(Cake\I18n\Time) {
'time' => '2015-05-19T20:20:24+0000',
'timezone' => 'UTC',
'fixedNowTime' => false
},
'PriceLists' => [
'id' => '1',
'description' => 'Fronha A',
'price' => '17.20',
'old_price' => null
]
],
'dirty' => [],
'original' => [],
'virtual' => [],
'errors' => [],
'repository' => 'Products'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment