Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SourcePool.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Deploy\Source;
7 
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 }
if(!isset($_GET['name'])) $name
Definition: log.php:14