->contain([ |
|
'ProductNutritionalFacts', |
|
'Recipes' |
|
]) |
|
->firstOrFail(); |
|
|
|
// is the product family, a naughty little sub family? |
|
$isSubFamily = $this->ProductFamilies->find() |
|
->where([ |
No arguments
} |
|
/** @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
$result = $callable(...array_values($request->getParam('pass'))); |
|
if ($result instanceof Response) { |
|
$this->response = $result; |
|
} |
|
|
'smoked-polish-sausage'
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(Products\Controller\ProductsController) { currentLib24watchUser => null currentUrl => '/products/product/smoked-polish-sausage' useDoubleAuthentication => false samlAttributes => [] eventManager => null helpers => [ 'ContentRegions.ContentRegionLoader' => null, 'Navigation.NavigationGenerator' => null ] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [[maximum depth reached]] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [[maximum depth reached]] [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) {} [protected] uri => object(Laminas\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] [private] mergeFilesAsObjects => false } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => null passedArgs => [ (int) 0 => 'smoked-polish-sausage' ] modelClass => 'Products.Products' viewClass => null viewVars => [ 'redirectMessage' => null, 'pageTitleTag' => 'h1', 'siteName' => 'Sheboygan Sausage', 'siteSettings' => object(Cake\ORM\Entity) {}, 'tagsAndScriptsForInjection' => object(Cake\ORM\Query) {}, 'metaData' => object(Cake\ORM\Entity) {}, 'idpIsLib24watch5User' => null, 'useSamlIdp' => false, 'samlAttributes' => [], 'groupPermissions' => [], 'lib24watchModules' => [ 'ContentRegions' => [ [maximum depth reached] ], 'Forms' => [ [maximum depth reached] ], 'Instagram' => [ [maximum depth reached] ], 'Navigation' => [ [maximum depth reached] ], 'Newsletters' => [ [maximum depth reached] ], 'Pages' => [ [maximum depth reached] ], 'PhotoGalleries' => [ [maximum depth reached] ], 'ProductLocator' => [ [maximum depth reached] ], 'Products' => [ [maximum depth reached] ], 'Recipes' => [ [maximum depth reached] ], 'Redirects' => [ [maximum depth reached] ], 'Slides' => [ [maximum depth reached] ], 'SocialNetworks' => [ [maximum depth reached] ], 'Theme' => [ [maximum depth reached] ] ], 'currentLib24watchUser' => null, 'isFrontendEditable' => false, 'isSiteDisabled' => false, 'showFavIcon' => false, 'currentUrl' => '/products/product/smoked-polish-sausage', 'items' => null, 'socialNetworks' => object(Cake\ORM\Query) {}, 'useDoubleAuthentication' => false, 'navigationTree' => [ (int) 0 => object(Navigation\Model\Entity\NavigationItem) {}, (int) 1 => object(Navigation\Model\Entity\NavigationItem) {}, (int) 2 => object(Navigation\Model\Entity\NavigationItem) {} ], 'debugLevel' => false, 'isDevServer' => false ] Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Lib24watchUsers => object(Lib24watch\Model\Table\Lib24watchUsersTable) { 'registryAlias' => 'Lib24watch.Lib24watchUsers', 'table' => 'sheboygan_db.lib24watch_users', 'alias' => 'Lib24watchUsers', 'entityClass' => 'Lib24watch\Model\Entity\Lib24watchUser', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Lib24watchImageCaching => object(Lib24watch\Controller\Component\Lib24watchImageCachingComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Lib24watchLogs => object(Lib24watch\Model\Table\Lib24watchLogsTable) { 'registryAlias' => 'Lib24watch.Lib24watchLogs', 'table' => 'sheboygan_db.lib24watch_log', 'alias' => 'Lib24watchLogs', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Lib24watchLogger => object(Lib24watch\Controller\Component\Lib24watchLoggerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [[maximum depth reached]] } Lib24watchStyle => object(Lib24watch\Controller\Component\Lib24watchStyleComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } idpIsLib24watch5User => null ContentRegionLoader => object(ContentRegions\Controller\Component\ContentRegionLoaderComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [[maximum depth reached]] } FormsNavigationGenerator => object(Forms\Controller\Component\FormsNavigationGeneratorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } PagesNavigationGenerator => object(Pages\Controller\Component\PagesNavigationGeneratorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } PhotoGalleriesNavigationGenerator => object(PhotoGalleries\Controller\Component\PhotoGalleriesNavigationGeneratorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } ProductFamilies => object(Products\Model\Table\ProductFamiliesTable) { 'registryAlias' => 'Products.ProductFamilies', 'table' => 'product_families', 'alias' => 'ProductFamilies', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Products => object(Products\Model\Table\ProductsTable) { 'registryAlias' => 'Products.Products', 'table' => 'products', 'alias' => 'Products', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } ProductsNavigationGenerator => object(Products\Controller\Component\ProductsNavigationGeneratorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } RecipesNavigationGenerator => object(Recipes\Controller\Component\RecipesNavigationGeneratorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Navigation => object(Navigation\Controller\Component\NavigationComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [[maximum depth reached]] } SlideLoader => object(Slides\Controller\Component\SlideLoaderComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Theme => object(Theme\Controller\Component\ThemeComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [[maximum depth reached]] } NutritionalFacts => object(Products\Model\Table\NutritionalFactsTable) { 'registryAlias' => 'Products.NutritionalFacts', 'table' => 'nutritional_facts', 'alias' => 'NutritionalFacts', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } SocialNetworksLoader => object(SocialNetworks\Controller\Component\SocialNetworksLoaderComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [[maximum depth reached]] } InstagramFeedItems => object(Instagram\Model\Table\InstagramFeedsTable) { 'registryAlias' => 'Instagram.InstagramFeeds', 'table' => 'instagram_feeds', 'alias' => 'InstagramFeeds', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } MetaData => object(Lib24watch\Model\Table\Lib24watchMetadatasTable) { 'registryAlias' => 'Lib24watch.Lib24watchMetadatas', 'table' => 'lib24watch_metadatas', 'alias' => 'Lib24watchMetadatas', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] defaultHelpers => [ (int) 0 => 'Html', (int) 1 => 'Breadcrumbs', 'Form' => [ 'errorClass' => 'form-control form-error', 'templates' => 'Lib24watch.default_form', 'widgets' => [ [maximum depth reached] ] ], (int) 2 => 'Lib24watch.Less', (int) 3 => 'Lib24watch.Lib24watchUser', (int) 4 => 'Lib24watch.Lib24watchPermissions', (int) 5 => 'Lib24watch.Lib24watchImageCache' ] [protected] lib24watchModules => [ 'ContentRegions' => [ 'title' => 'Content Regions', 'description' => 'Edit specific parts of various pages on The Ocho', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '1.4.0', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => [ [maximum depth reached] ], 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => 'ContentRegions\Controller\AppController', 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.4.3', 'meetsVersion' => true, 'hasFrontendNav' => 'lib24watch_frontend_nav', 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'Forms' => [ 'title' => 'Forms', 'description' => 'Manages forms on The Ocho.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => [ [maximum depth reached] ], 'version' => '1.4.2', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => 'Forms\Controller\AppController', 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.4.0', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => [ [maximum depth reached] ] ], 'Instagram' => [ 'title' => 'Instagram Feed', 'description' => 'Manages Instagram feeds on The Ocho.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '2.0.0', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => null, 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.3.0', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'Navigation' => [ 'title' => 'Navigation', 'description' => null, 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '1.4.1', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => [ [maximum depth reached] ], 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.4.3', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'Newsletters' => [ 'title' => 'Newsletters', 'description' => 'Allows end-users to subscribe to newsletters from The Ocho through third-party services.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '1.4.0', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.4.0', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'Pages' => [ 'title' => 'Pages', 'description' => null, 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '2.1.2', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.2.0', 'meetsVersion' => true, 'hasFrontendNav' => 'lib24watch_frontend_nav', 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => [ [maximum depth reached] ] ], 'PhotoGalleries' => [ 'title' => 'Photo Galleries', 'description' => 'Manages photo galleries on The Ocho.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => [ [maximum depth reached] ], 'version' => '2.0.0-trunk', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => null, 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.3.3', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => [ [maximum depth reached] ] ], 'ProductLocator' => [ 'title' => 'Product Locator', 'description' => null, 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => null, 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => null, 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.4.0', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'Products' => [ 'title' => 'Products', 'description' => null, 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => null, 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => [ [maximum depth reached] ], 'pluginIcon' => 'fa fa-align-justify', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => null, 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'Recipes' => [ 'title' => 'Recipes', 'description' => 'Manages recipes on The Ocho.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '1.0.0', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => [ [maximum depth reached] ], 'pluginIcon' => 'fa fa-book', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.8.2', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => [ [maximum depth reached] ] ], 'Redirects' => [ 'title' => 'Redirects', 'description' => 'Defines HTTP redirects from one URL to another; best used if The Ocho has been rewritten from an old site.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '1.4.1-dev', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.4.3', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'Slides' => [ 'title' => 'Slides', 'description' => 'Manages slides on the The Ocho homepage.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '2.0.0', 'isHidden' => false, 'isAlwaysHidden' => false, 'commonSharedComponents' => [ [maximum depth reached] ], 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.3.0', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'SocialNetworks' => [ 'title' => 'Social Media', 'description' => 'Manages social media links on The Ocho.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '1.0.3-trunk', 'isHidden' => true, 'isAlwaysHidden' => false, 'commonSharedComponents' => null, 'dependencies' => null, 'permissionsMap' => [ [maximum depth reached] ], 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => false, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.3.0', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ], 'Theme' => [ 'title' => 'Theme', 'description' => 'Manages the theme on The Ocho.', 'isInstallable' => false, 'hasInstallationNotification' => false, 'defaultLandingUrl' => null, 'version' => '1.0.0', 'isHidden' => true, 'isAlwaysHidden' => 'Theme\Controller\AppController', 'commonSharedComponents' => [ [maximum depth reached] ], 'dependencies' => null, 'permissionsMap' => null, 'isUpgradable' => false, 'isAttachable' => false, 'state' => object(Cake\ORM\Entity) {}, 'versionHistory' => null, 'customRouteAlias' => null, 'hasBackendNav' => null, 'pluginIcon' => 'fa fa-warning', 'migrate' => null, 'isPendingUpgrade' => false, 'isInstalled' => true, 'minimumVersion' => '6.8.2', 'meetsVersion' => true, 'hasFrontendNav' => false, 'meetsDependencies' => true, 'isAvailable' => true, 'dynamicRoutes' => null ] ] [protected] groupPermissions => [] [protected] deferInstallationNotification => false [protected] isDevServer => false [protected] redirectOutOfSsl => true [protected] isFrontendEditable => false [protected] useSamlIdp => false [protected] name => 'Products' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(Products\Controller\ProductsController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => 'Products' [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] locations => [ [maximum depth reached] ] [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [ [maximum depth reached] ] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [protected] _templatePath => null [protected] _template => null [protected] _plugin => null [protected] _theme => null [protected] _layout => null [protected] _autoLayout => null [protected] _layoutPath => null [protected] _name => null [protected] _className => 'Lib24watch.Lib24watch' [protected] _options => [[maximum depth reached]] [protected] _helpers => [ [maximum depth reached] ] [protected] _vars => [[maximum depth reached]] } }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url_key' => 'smoked-polish-sausage', 'pass' => [ (int) 0 => 'smoked-polish-sausage' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => 'Products', '_matchedRoute' => '/products/product/:url_key', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url_key' => 'smoked-polish-sausage', 'pass' => [ (int) 0 => 'smoked-polish-sausage' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => 'Products', '_matchedRoute' => '/products/product/:url_key', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
|
|
}
|
|
}
|
|
|
|
$response = $next($request, $response);
|
|
return $response;
|
|
}
|
|
|
|
}
|
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url_key' => 'smoked-polish-sausage', 'pass' => [ (int) 0 => 'smoked-polish-sausage' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => 'Products', '_matchedRoute' => '/products/product/:url_key', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url_key' => 'smoked-polish-sausage', 'pass' => [ (int) 0 => 'smoked-polish-sausage' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => 'Products', '_matchedRoute' => '/products/product/:url_key', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url_key' => 'smoked-polish-sausage', 'pass' => [ (int) 0 => 'smoked-polish-sausage' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => 'Products', '_matchedRoute' => '/products/product/:url_key', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'url_key' => 'smoked-polish-sausage', 'pass' => [ (int) 0 => 'smoked-polish-sausage' ], 'controller' => 'Products', 'action' => 'view', 'plugin' => 'Products', '_matchedRoute' => '/products/product/:url_key', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ssl' => true, 'ajax' => false, 'get' => true ] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Redirects\Middleware\RedirectsMiddleware) {}, (int) 4 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Redirects\Middleware\RedirectsMiddleware) {}, (int) 4 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'REDIRECT_SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_STATUS' => '200', 'SCRIPT_URL' => '/products/product/smoked-polish-sausage', 'SCRIPT_URI' => 'https://www.sheboygansausage.com/products/product/smoked-polish-sausage', 'HTTPS' => 'on', 'HTTP_X_FORWARDED_FOR' => '44.200.82.195', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_X_FORWARDED_PORT' => '443', 'HTTP_HOST' => 'www.sheboygansausage.com', 'HTTP_X_AMZN_TRACE_ID' => 'Root=1-66069c7b-68f26ff06fdc5ad24ba119e6', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at www.sheboygansausage.com Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)', 'SERVER_NAME' => 'www.sheboygansausage.com', 'SERVER_ADDR' => '172.31.37.113', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '172.31.35.100', 'DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/sheboygansausage.com/httpdocs', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/sheboygansausage.com/httpdocs/webroot/index.php', 'REMOTE_PORT' => '8722', 'REDIRECT_URL' => '/webroot/products/product/smoked-polish-sausage', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/products/product/smoked-polish-sausage', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711709307.232, 'REQUEST_TIME' => (int) 1711709307, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'products/product/smoked-polish-sausage' [protected] base => '' [protected] webroot => '/' [protected] here => '/products/product/smoked-polish-sausage' [protected] trustedProxies => [] [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Laminas\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Laminas\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'www.sheboygansausage.com' [private] port => null [private] path => '/products/product/smoked-polish-sausage' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 28800 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] [private] mergeFilesAsObjects => false } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application |
|
// and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments