[ [ 'name' => Action\RedirectAction::class, 'path' => '/{shortCode}', 'middleware' => [ IpAddress::class, Action\RedirectAction::class, ], 'allowed_methods' => [RequestMethod::METHOD_GET], ], [ 'name' => Action\PixelAction::class, 'path' => '/{shortCode}/track', 'middleware' => [ IpAddress::class, Action\PixelAction::class, ], 'allowed_methods' => [RequestMethod::METHOD_GET], ], [ 'name' => Action\QrCodeAction::class, 'path' => '/{shortCode}/qr-code[/{size:[0-9]+}]', 'middleware' => [ Middleware\QrCodeCacheMiddleware::class, Action\QrCodeAction::class, ], 'allowed_methods' => [RequestMethod::METHOD_GET], ], ], ];