| 1 | <?php |
||
| 15 | class PathTranslationParserFactory implements ParserFactoryInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var ParserFactoryInterface |
||
| 19 | */ |
||
| 20 | protected $parserFactory; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var ProjectConfig |
||
| 24 | */ |
||
| 25 | protected $config; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param ParserFactoryInterface $parserFactory |
||
| 29 | */ |
||
| 30 | 8 | public function __construct(ParserFactoryInterface $parserFactory, ProjectConfig $config) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @param PackageInterface $package |
||
| 38 | * @param string $sourceDir |
||
| 39 | * @return Parser |
||
| 40 | * @throws \ErrorException |
||
| 41 | */ |
||
| 42 | 2 | public function make(PackageInterface $package, $sourceDir) |
|
| 53 | } |
||
| 54 |