1 | <?php |
||
13 | class InstallStrategyFactory |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var ProjectConfig |
||
18 | */ |
||
19 | protected $config; |
||
20 | |||
21 | /** |
||
22 | * @var ParserFactoryInterface |
||
23 | */ |
||
24 | protected $parserFactory; |
||
25 | |||
26 | /** |
||
27 | * @param ProjectConfig $config |
||
28 | * @param ParserFactoryInterface $parserFactory |
||
29 | */ |
||
30 | 7 | public function __construct(ProjectConfig $config, ParserFactoryInterface $parserFactory) |
|
35 | |||
36 | /** |
||
37 | * @param PackageInterface $package |
||
38 | * @param string $packageSourcePath |
||
39 | * @return DeploystrategyAbstract |
||
40 | */ |
||
41 | 5 | public function make(PackageInterface $package, $packageSourcePath) |
|
60 | } |
||
61 |