Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-backend
App
Request
PathInfoProcessor.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Backend\App\Request
;
9
14
class
PathInfoProcessor
implements
\Magento\Framework\App\Request\PathInfoProcessorInterface
15
{
19
private
$_helper;
20
24
private
$_subject;
25
30
public
function
__construct
(
31
\
Magento
\Store\
App
\
Request
\
PathInfoProcessor
$subject,
32
\
Magento
\Backend\Helper\Data
$helper
33
) {
34
$this->_helper =
$helper
;
35
$this->_subject = $subject;
36
}
37
45
public
function
process
(\
Magento
\Framework\
App
\
RequestInterface
$request
, $pathInfo)
46
{
47
$pathParts = explode(
'/'
, ltrim($pathInfo,
'/'
), 2);
48
$firstPart = $pathParts[0];
49
50
if
($firstPart != $this->_helper->getAreaFrontName()) {
51
return
$this->_subject->process(
$request
, $pathInfo);
52
}
53
return
$pathInfo;
54
}
55
}
Magento\Backend\App\Request
Definition:
BackendValidatorTest.php:9
Magento\Framework\App
$helper
$helper
Definition:
iframe.phtml:13
Magento\Backend\App\Request\PathInfoProcessor\__construct
__construct(\Magento\Store\App\Request\PathInfoProcessor $subject, \Magento\Backend\Helper\Data $helper)
Definition:
PathInfoProcessor.php:30
Magento\TestFramework\Request
Definition:
Request.php:13
Magento\Framework\App\Request\PathInfoProcessorInterface
Definition:
PathInfoProcessorInterface.php:14
Magento\Framework\App\RequestInterface
Definition:
RequestInterface.php:14
Magento\Backend\App\Request\PathInfoProcessor
Definition:
PathInfoProcessor.php:14
Magento
$request
$request
Definition:
quote_with_configurable_product_last_variation.php:22
Magento\Backend\App\Request\PathInfoProcessor\process
process(\Magento\Framework\App\RequestInterface $request, $pathInfo)
Definition:
PathInfoProcessor.php:45