Skip to content

Instantly share code, notes, and snippets.

Created October 15, 2015 13:43
Show Gist options
  • Save anonymous/1acf634d5f5ecacb35fc to your computer and use it in GitHub Desktop.
Save anonymous/1acf634d5f5ecacb35fc to your computer and use it in GitHub Desktop.
[
(int) 0 => object(App\Model\Entity\Tag) {
'id' => (int) 1,
'tag_id' => '6',
'parent_id' => null,
'depth' => '1',
'tag_name' => 'Italia',
'slug' => '',
'children' => [
(int) 0 => object(App\Model\Entity\Tag) {
'id' => (int) 2,
'tag_id' => '1',
'parent_id' => '6',
'depth' => '2',
'tag_name' => 'Lazio',
'slug' => '',
'children' => [
(int) 0 => object(App\Model\Entity\Tag) {
'id' => (int) 5,
'tag_id' => '4',
'parent_id' => '1',
'depth' => '3',
'tag_name' => 'Roma',
'slug' => '',
'children' => [],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'children' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[repository]' => 'Tags'
}
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'children' => true
],
'[original]' => [
'children' => []
],
'[virtual]' => [],
'[errors]' => [],
'[repository]' => 'Tags'
},
(int) 1 => object(App\Model\Entity\Tag) {
'id' => (int) 3,
'tag_id' => '9',
'parent_id' => '6',
'depth' => '2',
'tag_name' => 'Abruzzo',
'slug' => '',
'children' => [],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'children' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[repository]' => 'Tags'
},
(int) 2 => object(App\Model\Entity\Tag) {
'id' => (int) 5,
'tag_id' => '4',
'parent_id' => '1',
'depth' => '3',
'tag_name' => 'Roma',
'slug' => '',
'children' => [],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'children' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[repository]' => 'Tags'
}
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'children' => true
],
'[original]' => [
'children' => []
],
'[virtual]' => [],
'[errors]' => [],
'[repository]' => 'Tags'
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment