Last active
September 27, 2021 14:37
-
-
Save Awilum/e159fa6bfc32f3e8b3f555129fdbefc3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'title' => 'Shop', | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'catalog' => | |
array ( | |
'id' => 'shop/catalog', | |
), | |
'discounts' => | |
array ( | |
'id' => 'shop/discounts', | |
), | |
), | |
), | |
'catalog' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'title' => 'Catalog', | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'bikes' => | |
array ( | |
'id' => 'shop/catalog/bikes', | |
), | |
'snowboards' => | |
array ( | |
'id' => 'shop/catalog/snowboards', | |
), | |
), | |
), | |
'bikes' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'title' => 'Bikes', | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'items' => | |
array ( | |
'id' => 'shop/catalog/bikes', | |
'options' => | |
array ( | |
'collection' => true, | |
), | |
), | |
), | |
), | |
'items' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/catalog/bikes/gt' => | |
array ( | |
'title' => 'GT', | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'items' => | |
array ( | |
'id' => 'shop/catalog/bikes/gt', | |
'options' => | |
array ( | |
'collection' => true, | |
), | |
), | |
), | |
), | |
'items' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/catalog/bikes/gt/fury' => | |
array ( | |
'title' => 'GT', | |
'price' => 2000, | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'discounts_available' => | |
array ( | |
'id' => 'shop/discounts', | |
'options' => | |
array ( | |
'collection' => true, | |
'filter' => | |
array ( | |
'where' => | |
array ( | |
0 => | |
array ( | |
'key' => 'category', | |
'operator' => 'eq', | |
'value' => 'bikes', | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
'discounts_available' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/discounts/30' => | |
array ( | |
'title' => 'Discount 30%', | |
'value' => 30, | |
'category' => 'bikes', | |
'slug' => '30', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/discounts/30', | |
), | |
), | |
)), | |
'slug' => 'fury', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/bikes/gt/fury', | |
), | |
'shop/catalog/bikes/gt/sensor' => | |
array ( | |
'title' => 'Sensor', | |
'price' => 1700, | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'discounts_available' => | |
array ( | |
'id' => 'shop/discounts', | |
'options' => | |
array ( | |
'collection' => true, | |
'filter' => | |
array ( | |
'where' => | |
array ( | |
0 => | |
array ( | |
'key' => 'category', | |
'operator' => 'eq', | |
'value' => 'bikes', | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
'discounts_available' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/discounts/30' => | |
array ( | |
'title' => 'Discount 30%', | |
'value' => 30, | |
'category' => 'bikes', | |
'slug' => '30', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/discounts/30', | |
), | |
), | |
)), | |
'slug' => 'sensor', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/bikes/gt/sensor', | |
), | |
), | |
)), | |
'slug' => 'gt', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/bikes/gt', | |
), | |
'shop/catalog/bikes/norco' => | |
array ( | |
'title' => 'Norco', | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'items' => | |
array ( | |
'id' => 'shop/catalog/bikes/norco', | |
'options' => | |
array ( | |
'collection' => true, | |
), | |
), | |
), | |
), | |
'items' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/catalog/bikes/norco/rage' => | |
array ( | |
'title' => 'Rage', | |
'price' => 2100, | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'discounts_available' => | |
array ( | |
'id' => 'shop/discounts', | |
'options' => | |
array ( | |
'collection' => true, | |
'filter' => | |
array ( | |
'where' => | |
array ( | |
0 => | |
array ( | |
'key' => 'category', | |
'operator' => 'eq', | |
'value' => 'bikes', | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
'discounts_available' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/discounts/30' => | |
array ( | |
'title' => 'Discount 30%', | |
'value' => 30, | |
'category' => 'bikes', | |
'slug' => '30', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/discounts/30', | |
), | |
), | |
)), | |
'slug' => 'rage', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/bikes/norco/rage', | |
), | |
), | |
)), | |
'slug' => 'norco', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/bikes/norco', | |
), | |
), | |
)), | |
'slug' => 'bikes', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/bikes', | |
), | |
)), | |
'snowboards' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'title' => 'Snowboards', | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'items' => | |
array ( | |
'id' => 'shop/catalog/snowboards', | |
'options' => | |
array ( | |
'collection' => true, | |
), | |
), | |
), | |
), | |
'items' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/catalog/snowboards/burton' => | |
array ( | |
'title' => 'Burton', | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'items' => | |
array ( | |
'id' => 'shop/catalog/snowboards/burton', | |
'options' => | |
array ( | |
'collection' => true, | |
), | |
), | |
), | |
), | |
'items' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/catalog/snowboards/burton/hero' => | |
array ( | |
'title' => 'Burton Family Tree Hometown Hero Camber Splitboard', | |
'price' => 849.95, | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'discounts_available' => | |
array ( | |
'id' => 'shop/discounts', | |
'options' => | |
array ( | |
'collection' => true, | |
'filter' => | |
array ( | |
'where' => | |
array ( | |
0 => | |
array ( | |
'key' => 'category', | |
'operator' => 'eq', | |
'value' => 'snowboards', | |
), | |
), | |
), | |
), | |
), | |
), | |
), | |
'discounts_available' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/discounts/50' => | |
array ( | |
'title' => 'Discount 50%', | |
'value' => 50, | |
'category' => 'snowboards', | |
'slug' => '50', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/discounts/50', | |
), | |
), | |
)), | |
'slug' => 'hero', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/snowboards/burton/hero', | |
), | |
), | |
)), | |
'slug' => 'burton', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/snowboards/burton', | |
), | |
), | |
)), | |
'slug' => 'snowboards', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog/snowboards', | |
), | |
)), | |
'slug' => 'catalog', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/catalog', | |
), | |
)), | |
'discounts' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'title' => 'Discounts', | |
'entries' => | |
array ( | |
'fetch' => | |
array ( | |
'items' => | |
array ( | |
'id' => 'shop/discounts', | |
'options' => | |
array ( | |
'collection' => true, | |
), | |
), | |
), | |
), | |
'items' => | |
Atomastic\Arrays\Arrays::__set_state(array( | |
'items' => | |
array ( | |
'shop/discounts/50' => | |
array ( | |
'title' => 'Discount 50%', | |
'value' => 50, | |
'category' => 'snowboards', | |
'slug' => '50', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/discounts/50', | |
), | |
'shop/discounts/30' => | |
array ( | |
'title' => 'Discount 30%', | |
'value' => 30, | |
'category' => 'bikes', | |
'slug' => '30', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/discounts/30', | |
), | |
), | |
)), | |
'slug' => 'discounts', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop/discounts', | |
), | |
)), | |
'slug' => 'shop', | |
'published_at' => 1632753414, | |
'modified_at' => 1632753414, | |
'created_at' => 1632753414, | |
'routable' => true, | |
'visibility' => 'visible', | |
'id' => 'shop', | |
), | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment