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
UrlFactory.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Framework
;
8
9
class
UrlFactory
10
{
14
protected
$_objectManager
=
null
;
15
19
protected
$_instanceName
=
null
;
20
25
public
function
__construct
(
26
ObjectManagerInterface
$objectManager
,
27
$instanceName = UrlInterface::class
28
) {
29
$this->_objectManager =
$objectManager
;
30
$this->_instanceName = $instanceName;
31
}
32
39
public
function
create
(array
$data
= [])
40
{
41
return
$this->_objectManager->create($this->_instanceName,
$data
);
42
}
43
}
Magento\Framework\UrlFactory\$_instanceName
$_instanceName
Definition:
UrlFactory.php:19
$objectManager
$objectManager
Definition:
bootstrap.php:17
Magento\Framework\ObjectManagerInterface
Definition:
ObjectManagerInterface.php:12
Magento\Framework
$data
$data
Definition:
attribute_set_with_image_attribute.php:16
Magento\Framework\UrlFactory\create
create(array $data=[])
Definition:
UrlFactory.php:39
Magento\Framework\UrlFactory
Definition:
UrlFactory.php:9
Magento\Framework\UrlFactory\$_objectManager
$_objectManager
Definition:
UrlFactory.php:14
Magento\Framework\UrlFactory\__construct
__construct(ObjectManagerInterface $objectManager, $instanceName=UrlInterface::class)
Definition:
UrlFactory.php:25