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-deploy
Source
SourcePool.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Deploy\Source
;
7
11
class
SourcePool
12
{
18
private
$sources;
19
24
public
function
__construct
(array $sources)
25
{
26
$this->sources = $sources;
27
}
28
34
public
function
getAll
()
35
{
36
return
$this->sources;
37
}
38
45
public
function
getSource
(
$name
)
46
{
47
return
isset($this->sources[
$name
]) ? $this->sources[
$name
] :
null
;
48
}
49
}
Magento\Deploy\Source
Definition:
Lib.php:6
Magento\Deploy\Source\SourcePool\__construct
__construct(array $sources)
Definition:
SourcePool.php:24
Magento\Deploy\Source\SourcePool\getAll
getAll()
Definition:
SourcePool.php:34
Magento\Deploy\Source\SourcePool
Definition:
SourcePool.php:11
Magento\Deploy\Source\SourcePool\getSource
getSource($name)
Definition:
SourcePool.php:45
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14