@ 2018-02-14T22:56:19Z <?php
class Request {
const METHOD_GET = 'GET';
const METHOD_POST = 'POST';
const METHOD_HEAD = 'HEAD';
const METHOD_PUT = 'PUT';
}
$routes = array(
'/product-list' => [
Request::METHOD_GET => [
'alias' => 'catalog_product_list',
'controller' => 'Handel\Catalog\Controller\Product\ProductListController::class',
'method' => 'indexAction',
'requirements' => [],
'options' => []
]
],
'/product/{slug}' => [
Request::METHOD_GET => [
'alias' => 'catalog_product',
'controller' => 'Handel\Catalog\Controller\Product\ProductController::class',
'method' => 'indexAction'
]
],
'/compare' => [
Request::METHOD_GET => [
'alias' => 'catalog_compare_index',
'controller' => 'Handel\Catalog\Controller\Product\CompareController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_compare_add',
'controller' => 'Handel\Catalog\Controller\Product\CompareController::class',
'method' => 'postAction'
]
],
'/category-list' => [
Request::METHOD_GET => [
'alias' => 'catalog_category_list',
'controller' => 'Handel\Catalog\Controller\Product\CategoryListController::class',
'method' => 'indexAction'
]
],
'/category/{slug}' => [
Request::METHOD_GET => [
'alias' => 'catalog_category',
'controller' => 'Handel\Catalog\Controller\Product\CategoryController::class',
'method' => 'indexAction'
]
],
'/manufacturer-list' => [
Request::METHOD_GET => [
'alias' => 'catalog_manufacturer_list',
'controller' => 'Handel\Catalog\Controller\Product\ManufacturerListController::class',
'method' => 'indexAction'
]
],
'/manufacturer/{slug}' => [
Request::METHOD_GET => [
'alias' => 'catalog_manufacturer',
'controller' => 'Handel\Catalog\Controller\Product\ManufacturerController::class',
'method' => 'indexAction'
]
],
'/information-list' => [
Request::METHOD_GET => [
'alias' => 'catalog_information_list',
'controller' => 'Handel\Catalog\Controller\Information\InformationListController::class',
'method' => 'indexAction'
]
],
'/information/{slug}' => [
Request::METHOD_GET => [
'alias' => 'catalog_information',
'controller' => 'Handel\Catalog\Controller\Information\InformationController::class',
'method' => 'indexAction'
]
],
'/terms-and-conditions' => [
Request::METHOD_GET => [
'alias' => 'catalog_terms',
'controller' => 'Handel\Catalog\Controller\Information\TermsController::class',
'method' => 'indexAction'
]
],
'/about-us' => [
Request::METHOD_GET => [
'alias' => 'catalog_about',
'controller' => 'Handel\Catalog\Controller\Information\AboutController::class',
'method' => 'indexAction'
]
],
'/search' => [
Request::METHOD_GET => [
'alias' => 'catalog_search',
'controller' => 'Handel\Catalog\Controller\Product\SearchController::class',
'method' => 'indexAction'
]
],
'/account' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_account',
'controller' => 'Handel\Catalog\Controller\Account\AccountController::class',
'method' => 'indexAction'
]
],
'/account/address' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_address_book',
'controller' => 'Handel\Catalog\Controller\Account\AddressBookController::class',
'method' => 'indexAction'
]
],
'/account/address/{id}' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_address',
'controller' => 'Handel\Catalog\Controller\Account\AddressController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_account_address',
'controller' => 'Handel\Catalog\Controller\Account\AddressController::class',
'method' => 'postAction'
],
],
'/account/forgotten' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_forgotten',
'controller' => 'Handel\Catalog\Controller\Account\ForgottenController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_account_forgotten_post',
'controller' => 'Handel\Catalog\Controller\Account\ForgottenController::class',
'method' => 'postAction'
],
],
'/account/login' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_login',
'controller' => 'Handel\Catalog\Controller\Account\LoginController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_account_login_post',
'controller' => 'Handel\Catalog\Controller\Account\LoginController::class',
'method' => 'postAction'
]
],
'/account/logout' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_logout',
'controller' => 'Handel\Catalog\Controller\Account\LogoutController::class',
'method' => 'indexAction'
]
],
'/account/newsletter' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_newsletter',
'controller' => 'Handel\Catalog\Controller\Account\NewsletterController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_account_newsletter_post',
'controller' => 'Handel\Catalog\Controller\Account\NewsletterController::class',
'method' => 'postAction'
],
],
'/account/register' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_register',
'controller' => 'Handel\Catalog\Controller\Account\RegisterController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_account_register_post',
'controller' => 'Handel\Catalog\Controller\Account\RegisterController::class',
'method' => 'postAction'
]
],
'/account/order-history/{id}' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_order',
'controller' => 'Handel\Catalog\Controller\Account\OrderController::class',
'method' => 'indexAction'
]
],
'/account/order-history' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_order_history',
'controller' => 'Handel\Catalog\Controller\Account\OrderHistoryController::class',
'method' => 'indexAction'
]
],
'/account/wishlist' => [
Request::METHOD_GET => [
'alias' => 'catalog_account_wishlist',
'controller' => 'Handel\Catalog\Controller\Account\WishListController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_account_wishlist_post',
'controller' => 'Handel\Catalog\Controller\Account\WishListController::class',
'method' => 'postAction'
]
],
'/affiliate/login' => [
Request::METHOD_GET => [
'alias' => 'catalog_affiliate_login',
'controller' => 'Handel\Catalog\Controller\Affiliate\LoginController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_affiliate_login_post',
'controller' => 'Handel\Catalog\Controller\Affiliate\LoginController::class',
'method' => 'postAction'
],
],
'/affiliate/register' => [
Request::METHOD_GET => [
'alias' => 'catalog_affiliate_register',
'controller' => 'Handel\Catalog\Controller\Affiliate\RegisterController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_affiliate_register_post',
'controller' => 'Handel\Catalog\Controller\Affiliate\RegisterController::class',
'method' => 'postAction'
]
],
'/cart' => [
Request::METHOD_GET => [
'alias' => 'catalog_cart',
'controller' => 'Handel\Catalog\Controller\Common\CartController::class',
'method' => 'indexAction'
],
Request::METHOD_POST => [
'alias' => 'catalog_cart_post',
'controller' => 'Handel\Catalog\Controller\Common\CartController::class',
'method' => 'postAction'
]
],
'/checkout' => [
Request::METHOD_GET => [
'alias' => 'catalog_checkout',
'controller' => 'Handel\Catalog\Controller\Checkout\CheckoutController::class',
'method' => 'indexAction'
]
],
'/checkout/payment-address' => [
Request::METHOD_GET => [
'alias' => 'catalog_checkout_payment_address',
'controller' => 'Handel\Catalog\Controller\Checkout\BillingAddressController::class',
'method' => 'indexAction'
]
],
'/checkout/shipping-address' => [
Request::METHOD_GET => [
'alias' => 'catalog_checkout_delivery_address',
'controller' => 'Handel\Catalog\Controller\Checkout\ShippingAddressController::class',
'method' => 'indexAction'
]
],
'/checkout/shipping-method' => [
Request::METHOD_GET => [
'alias' => 'catalog_checkout_delivery_method',
'controller' => 'Handel\Catalog\Controller\Checkout\ShippingMethodController::class',
'method' => 'indexAction'
]
],
'/' => [
Request::METHOD_GET => [
'alias' => 'catalog_index',
'controller' => 'Handel\Catalog\Controller\Common\HomeController::class',
'method' => 'indexAction'
]
],
);
$output = [];
foreach ($routes as $path => $data) {
foreach ($data as $http_method => $values) {
$alias = $values['alias'];
$controller = $values['controller'];
$method = $values['method'];
$output[$alias] = [
'path' => $path,
'controller' => [$controller, $method],
'requirements' => [],
'defaults' => [],
'methods' => [$http_method]
];
}
}
var_dump($output);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 8.3.6 0.013 0.016 18.68 8.3.5 0.012 0.006 16.51 8.3.4 0.017 0.003 18.75 8.3.3 0.003 0.014 18.71 8.3.2 0.007 0.003 21.92 8.3.1 0.006 0.003 23.54 8.3.0 0.007 0.004 19.69 8.2.18 0.007 0.016 18.48 8.2.17 0.016 0.003 22.96 8.2.16 0.017 0.000 20.47 8.2.15 0.008 0.004 24.18 8.2.14 0.009 0.000 24.66 8.2.13 0.006 0.003 26.16 8.2.12 0.007 0.003 20.57 8.2.11 0.003 0.009 22.07 8.2.10 0.011 0.003 17.84 8.2.9 0.004 0.004 17.75 8.2.8 0.003 0.006 18.74 8.2.7 0.000 0.010 18.04 8.2.6 0.009 0.000 17.93 8.2.5 0.000 0.009 18.16 8.2.4 0.006 0.003 22.33 8.2.3 0.006 0.003 19.54 8.2.2 0.000 0.008 18.09 8.2.1 0.009 0.000 18.18 8.2.0 0.006 0.003 18.36 8.1.28 0.011 0.007 25.92 8.1.27 0.006 0.003 22.09 8.1.26 0.003 0.007 26.35 8.1.25 0.005 0.005 28.09 8.1.24 0.004 0.008 19.32 8.1.23 0.010 0.003 21.04 8.1.22 0.006 0.003 18.81 8.1.21 0.010 0.000 18.77 8.1.20 0.003 0.009 17.60 8.1.19 0.006 0.003 17.48 8.1.18 0.003 0.006 18.10 8.1.17 0.003 0.006 18.48 8.1.16 0.003 0.005 18.96 8.1.15 0.000 0.008 20.26 8.1.14 0.000 0.009 17.78 8.1.13 0.004 0.004 19.09 8.1.12 0.000 0.008 17.54 8.1.11 0.003 0.006 17.43 8.1.10 0.008 0.000 17.43 8.1.9 0.004 0.004 17.49 8.1.8 0.009 0.003 17.54 8.1.7 0.000 0.009 17.59 8.1.6 0.006 0.003 17.54 8.1.5 0.010 0.000 17.57 8.1.4 0.003 0.006 17.50 8.1.3 0.003 0.006 17.66 8.1.2 0.000 0.009 17.70 8.1.1 0.006 0.003 17.61 8.1.0 0.000 0.009 17.44 8.0.30 0.006 0.003 18.77 8.0.29 0.009 0.000 16.88 8.0.28 0.000 0.008 18.46 8.0.27 0.005 0.003 17.21 8.0.26 0.000 0.008 16.90 8.0.25 0.000 0.008 17.03 8.0.24 0.003 0.006 17.02 8.0.23 0.004 0.004 17.04 8.0.22 0.000 0.009 16.97 8.0.21 0.000 0.008 17.03 8.0.20 0.000 0.008 17.05 8.0.19 0.006 0.003 16.91 8.0.18 0.010 0.000 16.96 8.0.17 0.007 0.003 16.95 8.0.16 0.006 0.003 16.93 8.0.15 0.003 0.007 17.03 8.0.14 0.003 0.006 16.93 8.0.13 0.000 0.007 13.38 8.0.12 0.010 0.000 16.84 8.0.11 0.000 0.009 16.87 8.0.10 0.009 0.000 17.08 8.0.9 0.006 0.003 16.84 8.0.8 0.006 0.013 16.89 8.0.7 0.000 0.008 16.88 8.0.6 0.000 0.009 16.87 8.0.5 0.009 0.000 16.86 8.0.3 0.016 0.008 17.14 8.0.2 0.016 0.013 17.40 8.0.1 0.004 0.004 17.01 8.0.0 0.014 0.011 16.71 7.4.33 0.003 0.003 15.55 7.4.32 0.000 0.008 16.65 7.4.30 0.004 0.004 16.61 7.4.29 0.008 0.000 16.72 7.4.28 0.003 0.006 16.62 7.4.27 0.000 0.008 16.57 7.4.26 0.000 0.008 16.71 7.4.25 0.000 0.008 16.65 7.4.24 0.000 0.008 16.70 7.4.23 0.003 0.005 16.47 7.4.22 0.008 0.000 16.50 7.4.21 0.015 0.011 16.65 7.4.20 0.000 0.009 16.48 7.4.16 0.023 0.006 16.74 7.4.15 0.017 0.014 17.40 7.4.14 0.015 0.015 17.86 7.4.13 0.010 0.016 16.48 7.4.12 0.019 0.012 16.50 7.4.11 0.013 0.013 16.66 7.4.10 0.013 0.010 16.61 7.4.9 0.012 0.015 16.48 7.4.8 0.022 0.003 19.39 7.4.7 0.014 0.018 16.56 7.4.6 0.014 0.011 16.55 7.4.5 0.008 0.008 16.54 7.4.4 0.018 0.004 16.54 7.4.0 0.003 0.017 15.16 7.3.33 0.003 0.003 13.22 7.3.32 0.005 0.003 13.30 7.3.31 0.006 0.003 16.48 7.3.30 0.003 0.005 16.45 7.3.29 0.003 0.005 16.48 7.3.28 0.008 0.016 16.42 7.3.27 0.017 0.010 17.40 7.3.26 0.016 0.014 16.46 7.3.24 0.019 0.010 16.55 7.3.23 0.013 0.020 16.73 7.3.21 0.007 0.027 16.70 7.3.20 0.019 0.003 16.61 7.3.19 0.013 0.013 16.55 7.3.18 0.018 0.004 16.30 7.3.17 0.011 0.018 16.35 7.3.16 0.019 0.004 16.38 7.3.1 0.019 0.004 16.30 7.3.0 0.012 0.009 16.36 7.2.33 0.018 0.011 16.62 7.2.32 0.011 0.011 16.52 7.2.31 0.006 0.019 16.95 7.2.30 0.015 0.007 16.68 7.2.29 0.017 0.009 16.58 7.2.13 0.018 0.007 16.43 7.2.12 0.013 0.006 16.72 7.2.11 0.015 0.003 16.98 7.2.10 0.012 0.003 17.07 7.2.9 0.006 0.006 16.88 7.2.8 0.009 0.006 16.93 7.2.7 0.019 0.006 16.85 7.2.6 0.011 0.009 16.80 7.2.5 0.007 0.009 16.91 7.2.4 0.008 0.008 17.04 7.2.3 0.009 0.013 17.00 7.2.2 0.011 0.012 18.37 7.2.1 0.010 0.013 18.40 7.2.0 0.013 0.012 18.26 7.1.25 0.015 0.006 15.82 7.1.20 0.010 0.006 15.93 7.1.14 0.012 0.015 18.59 7.1.13 0.013 0.017 18.86 7.1.12 0.016 0.020 18.70 7.1.11 0.014 0.016 18.45 7.1.10 0.015 0.013 18.00 7.1.9 0.011 0.012 18.22 7.1.8 0.011 0.020 18.36 7.1.7 0.012 0.013 17.38 7.1.6 0.034 0.019 35.27 7.1.5 0.037 0.016 34.65 7.1.4 0.031 0.012 34.46 7.1.3 0.033 0.017 34.40 7.1.2 0.030 0.022 34.55 7.1.1 0.009 0.019 16.50 7.1.0 0.009 0.014 16.93
preferences:dark mode live preview
49.39 ms | 400 KiB | 5 Q