Skip to content

Instantly share code, notes, and snippets.

@Awilum
Created September 27, 2021 14:34
Show Gist options
  • Save Awilum/9b6fdac366cbf0dfb068fc26d23e4b7c to your computer and use it in GitHub Desktop.
Save Awilum/9b6fdac366cbf0dfb068fc26d23e4b7c to your computer and use it in GitHub Desktop.
<?php
return \Symfony\Component\VarExporter\Internal\Hydrator::hydrate(
$o = [
clone (($p = &\Symfony\Component\VarExporter\Internal\Registry::$prototypes)['Atomastic\\Arrays\\Arrays'] ?? \Symfony\Component\VarExporter\Internal\Registry::p('Atomastic\\Arrays\\Arrays')),
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
clone $p['Atomastic\\Arrays\\Arrays'],
],
null,
[
'Atomastic\\Arrays\\Arrays' => [
'items' => [
[
'title' => 'Shop',
'entries' => [
'fetch' => [
'catalog' => [
'id' => 'shop/catalog',
],
'discounts' => [
'id' => 'shop/discounts',
],
],
],
'catalog' => $o[1],
'discounts' => $o[13],
'slug' => 'shop',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop',
],
[
'title' => 'Catalog',
'entries' => [
'fetch' => [
'bikes' => [
'id' => 'shop/catalog/bikes',
],
'snowboards' => [
'id' => 'shop/catalog/snowboards',
],
],
],
'bikes' => $o[2],
'snowboards' => $o[9],
'slug' => 'catalog',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog',
],
[
'title' => 'Bikes',
'entries' => [
'fetch' => [
'items' => [
'id' => 'shop/catalog/bikes',
'options' => [
'collection' => true,
],
],
],
],
'items' => $o[3],
'slug' => 'bikes',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/bikes',
],
[
'shop/catalog/bikes/gt' => [
'title' => 'GT',
'entries' => [
'fetch' => [
'items' => [
'id' => 'shop/catalog/bikes/gt',
'options' => [
'collection' => true,
],
],
],
],
'items' => $o[4],
'slug' => 'gt',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/bikes/gt',
],
'shop/catalog/bikes/norco' => [
'title' => 'Norco',
'entries' => [
'fetch' => [
'items' => [
'id' => 'shop/catalog/bikes/norco',
'options' => [
'collection' => true,
],
],
],
],
'items' => $o[7],
'slug' => 'norco',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/bikes/norco',
],
],
[
'shop/catalog/bikes/gt/fury' => [
'title' => 'GT',
'price' => 2000,
'entries' => [
'fetch' => [
'discounts_available' => [
'id' => 'shop/discounts',
'options' => [
'collection' => true,
'filter' => [
'where' => [
[
'key' => 'category',
'operator' => 'eq',
'value' => 'bikes',
],
],
],
],
],
],
],
'discounts_available' => $o[5],
'slug' => 'fury',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/bikes/gt/fury',
],
'shop/catalog/bikes/gt/sensor' => [
'title' => 'Sensor',
'price' => 1700,
'entries' => [
'fetch' => [
'discounts_available' => [
'id' => 'shop/discounts',
'options' => [
'collection' => true,
'filter' => [
'where' => [
[
'key' => 'category',
'operator' => 'eq',
'value' => 'bikes',
],
],
],
],
],
],
],
'discounts_available' => $o[6],
'slug' => 'sensor',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/bikes/gt/sensor',
],
],
[
'shop/discounts/30' => [
'title' => 'Discount 30%',
'value' => 30,
'category' => 'bikes',
'slug' => '30',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/discounts/30',
],
],
[
'shop/discounts/30' => [
'title' => 'Discount 30%',
'value' => 30,
'category' => 'bikes',
'slug' => '30',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/discounts/30',
],
],
[
'shop/catalog/bikes/norco/rage' => [
'title' => 'Rage',
'price' => 2100,
'entries' => [
'fetch' => [
'discounts_available' => [
'id' => 'shop/discounts',
'options' => [
'collection' => true,
'filter' => [
'where' => [
[
'key' => 'category',
'operator' => 'eq',
'value' => 'bikes',
],
],
],
],
],
],
],
'discounts_available' => $o[8],
'slug' => 'rage',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/bikes/norco/rage',
],
],
[
'shop/discounts/30' => [
'title' => 'Discount 30%',
'value' => 30,
'category' => 'bikes',
'slug' => '30',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/discounts/30',
],
],
[
'title' => 'Snowboards',
'entries' => [
'fetch' => [
'items' => [
'id' => 'shop/catalog/snowboards',
'options' => [
'collection' => true,
],
],
],
],
'items' => $o[10],
'slug' => 'snowboards',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/snowboards',
],
[
'shop/catalog/snowboards/burton' => [
'title' => 'Burton',
'entries' => [
'fetch' => [
'items' => [
'id' => 'shop/catalog/snowboards/burton',
'options' => [
'collection' => true,
],
],
],
],
'items' => $o[11],
'slug' => 'burton',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/snowboards/burton',
],
],
[
'shop/catalog/snowboards/burton/hero' => [
'title' => 'Burton Family Tree Hometown Hero Camber Splitboard',
'price' => 849.95,
'entries' => [
'fetch' => [
'discounts_available' => [
'id' => 'shop/discounts',
'options' => [
'collection' => true,
'filter' => [
'where' => [
[
'key' => 'category',
'operator' => 'eq',
'value' => 'snowboards',
],
],
],
],
],
],
],
'discounts_available' => $o[12],
'slug' => 'hero',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/catalog/snowboards/burton/hero',
],
],
[
'shop/discounts/50' => [
'title' => 'Discount 50%',
'value' => 50,
'category' => 'snowboards',
'slug' => '50',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/discounts/50',
],
],
[
'title' => 'Discounts',
'entries' => [
'fetch' => [
'items' => [
'id' => 'shop/discounts',
'options' => [
'collection' => true,
],
],
],
],
'items' => $o[14],
'slug' => 'discounts',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/discounts',
],
[
'shop/discounts/50' => [
'title' => 'Discount 50%',
'value' => 50,
'category' => 'snowboards',
'slug' => '50',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/discounts/50',
],
'shop/discounts/30' => [
'title' => 'Discount 30%',
'value' => 30,
'category' => 'bikes',
'slug' => '30',
'published_at' => 1632743125,
'modified_at' => 1632743125,
'created_at' => 1632743125,
'routable' => true,
'visibility' => 'visible',
'id' => 'shop/discounts/30',
],
],
],
],
],
$o[0],
[]
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment