| Total Complexity | 2 | 
| Total Lines | 46 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 8 | class ChangelogRepositoryFactory  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * @var \Composer\Composer  | 
            ||
| 12 | */  | 
            ||
| 13 | private $composerRuntime;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * @var \Symfony\Component\Console\Output\OutputInterface  | 
            ||
| 17 | */  | 
            ||
| 18 | private $output;  | 
            ||
| 19 | |||
| 20 | /**  | 
            ||
| 21 | * @param \Composer\Composer $composerRuntime  | 
            ||
| 22 | * @param \Symfony\Component\Console\Output\OutputInterface $output  | 
            ||
| 23 | */  | 
            ||
| 24 | public function __construct(  | 
            ||
| 25 | \Composer\Composer $composerRuntime,  | 
            ||
| 26 | \Symfony\Component\Console\Output\OutputInterface $output = null  | 
            ||
| 27 |     ) { | 
            ||
| 28 | $this->composerRuntime = $composerRuntime;  | 
            ||
| 29 | $this->output = $output;  | 
            ||
| 30 | }  | 
            ||
| 31 | |||
| 32 | public function create($fromSource)  | 
            ||
| 54 | );  | 
            ||
| 55 | }  | 
            ||
| 57 |