src/MagentoHackathon/Composer/Magento/Parser/ModmanParser.php 1 location
|
@@ 32-40 (lines=9) @@
|
| 29 |
|
* @return array |
| 30 |
|
* @throws \ErrorException |
| 31 |
|
*/ |
| 32 |
|
public function getMappings() |
| 33 |
|
{ |
| 34 |
|
if (!$this->file->isReadable()) { |
| 35 |
|
throw new \ErrorException(sprintf('modman file "%s" not readable', $this->file->getPathname())); |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
$map = $this->parseMappings(); |
| 39 |
|
return $map; |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
/** |
| 43 |
|
* @throws \ErrorException |
src/MagentoHackathon/Composer/Magento/Parser/PackageXmlParser.php 1 location
|
@@ 39-47 (lines=9) @@
|
| 36 |
|
* @return array |
| 37 |
|
* @throws \ErrorException |
| 38 |
|
*/ |
| 39 |
|
public function getMappings() |
| 40 |
|
{ |
| 41 |
|
if (!$this->file->isReadable()) { |
| 42 |
|
throw new \ErrorException(sprintf('Package file "%s" not readable', $this->file->getPathname())); |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
$map = $this->parseMappings(); |
| 46 |
|
return $map; |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
/** |
| 50 |
|
* @throws \RuntimeException |