Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- array(5) {
- [0]=>
- object(stdClass)#13 (3) {
- ["id"]=>
- string(1) "1"
- ["name"]=>
- string(11) "Catégorie 1"
- ["childrens"]=>
- array(2) {
- [0]=>
- object(stdClass)#19 (2) {
- ["id"]=>
- string(1) "6"
- ["name"]=>
- string(16) "Sous-catégorie 1"
- }
- [1]=>
- object(stdClass)#20 (2) {
- ["id"]=>
- string(1) "7"
- ["name"]=>
- string(16) "Sous-catégorie 2"
- }
- }
- }
- [1]=>
- object(stdClass)#14 (3) {
- ["id"]=>
- string(1) "2"
- ["name"]=>
- string(11) "Catégorie 2"
- ["childrens"]=>
- array(2) {
- [0]=>
- object(stdClass)#21 (2) {
- ["id"]=>
- string(1) "8"
- ["name"]=>
- string(16) "Sous-catégorie 3"
- }
- [1]=>
- object(stdClass)#22 (2) {
- ["id"]=>
- string(1) "9"
- ["name"]=>
- string(16) "Sous-catégorie 4"
- }
- }
- }
- [2]=>
- object(stdClass)#15 (3) {
- ["id"]=>
- string(1) "3"
- ["name"]=>
- string(11) "Catégorie 3"
- ["childrens"]=>
- array(2) {
- [0]=>
- object(stdClass)#23 (2) {
- ["id"]=>
- string(2) "10"
- ["name"]=>
- string(16) "Sous-catégorie 5"
- }
- [1]=>
- object(stdClass)#24 (2) {
- ["id"]=>
- string(2) "11"
- ["name"]=>
- string(16) "Sous-catégorie 6"
- }
- }
- }
- [3]=>
- object(stdClass)#16 (2) {
- ["id"]=>
- string(1) "4"
- ["name"]=>
- string(11) "Catégorie 4"
- }
- [4]=>
- object(stdClass)#17 (3) {
- ["id"]=>
- string(1) "5"
- ["name"]=>
- string(11) "Catégorie 5"
- ["childrens"]=>
- array(1) {
- [0]=>
- object(stdClass)#25 (2) {
- ["id"]=>
- string(2) "12"
- ["name"]=>
- string(16) "Sous-catégorie 7"
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement