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
framework
ObjectManager
Definition
Runtime.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\ObjectManager\Definition
;
9
10
class
Runtime
implements
\Magento\Framework\ObjectManager\DefinitionInterface
11
{
15
protected
$_definitions
= [];
16
20
private
$_reader;
21
25
public
function
__construct
(\
Magento
\Framework\Code\Reader\ClassReaderInterface $reader =
null
)
26
{
27
$this->_reader = $reader ?: new \Magento\Framework\Code\Reader\ClassReader();
28
}
29
46
public
function
getParameters
(
$className
)
47
{
48
if
(!array_key_exists(
$className
, $this->_definitions)) {
49
$this->_definitions[
$className
] = $this->_reader->getConstructor(
$className
);
50
}
51
return
$this->_definitions[
$className
];
52
}
53
59
public
function
getClasses
()
60
{
61
return
[];
62
}
63
}
Magento\Framework\ObjectManager\Definition\Runtime\__construct
__construct(\Magento\Framework\Code\Reader\ClassReaderInterface $reader=null)
Definition:
Runtime.php:25
Magento\Framework\ObjectManager\DefinitionInterface
Definition:
DefinitionInterface.php:14
Magento\Framework\ObjectManager\Definition
Definition:
Runtime.php:8
Magento\Framework\ObjectManager\Definition\Runtime\getClasses
getClasses()
Definition:
Runtime.php:59
Magento
Magento\Framework\ObjectManager\Definition\Runtime\$_definitions
$_definitions
Definition:
Runtime.php:15
Magento\Framework\ObjectManager\Definition\Runtime
Definition:
Runtime.php:10
$className
if($currentSelectedMethod==$_code) $className
Definition:
form.phtml:31
Magento\Framework\ObjectManager\Definition\Runtime\getParameters
getParameters($className)
Definition:
Runtime.php:46