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-config
Model
Config
Structure
Search
Proxy.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Config\Model\Config\Structure\Search
;
7
12
class
Proxy
implements
13
\Magento\Config\Model\Config\Structure\SearchInterface,
14
\Magento\Framework\ObjectManager\NoninterceptableInterface
15
{
20
protected
$_objectManager
;
21
25
protected
$_subject
;
26
30
public
function
__construct
(\
Magento
\Framework\ObjectManagerInterface
$objectManager
)
31
{
32
$this->_objectManager =
$objectManager
;
33
}
34
40
protected
function
_getSubject
()
41
{
42
if
(!$this->_subject) {
43
$this->_subject = $this->_objectManager->get(\
Magento
\
Config
\Model\
Config
\Structure::class);
44
}
45
return
$this->_subject
;
46
}
47
54
public
function
getElement
(
$path
)
55
{
56
return
$this->
_getSubject
()->getElement(
$path
);
57
}
58
}
Magento\Config\Model\Config\Structure\Search\Proxy\getElement
getElement($path)
Definition:
Proxy.php:54
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManager\NoninterceptableInterface
Definition:
NoninterceptableInterface.php:11
Magento\Config\Model\Config\Structure\Search\Proxy
Definition:
Proxy.php:12
Magento\Config\Model\Config\Structure\Search\Proxy\$_objectManager
$_objectManager
Definition:
Proxy.php:20
Magento
Magento\Config\Model\Config\Structure\Search\Proxy\__construct
__construct(\Magento\Framework\ObjectManagerInterface $objectManager)
Definition:
Proxy.php:30
Magento\Framework\App\Config
Definition:
Config.php:17
Magento\Config\Model\Config\Structure\Search\Proxy\_getSubject
_getSubject()
Definition:
Proxy.php:40
Magento\Config\Model\Config\Structure\Search
Definition:
Proxy.php:6
$path
$path
Definition:
import_with_filesystem_images.php:14
Magento\Config\Model\Config\Structure\Search\Proxy\$_subject
$_subject
Definition:
Proxy.php:25