| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Docker implements Template |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $binaryPath; |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $containerName; |
||
| 19 | |||
| 20 | 2 | public function __construct(string $repoPath, string $vendorPath, string $containerName) |
|
| 24 | 2 | } |
|
| 25 | |||
| 26 | /** |
||
| 27 | * Return the code for the git hook scripts. |
||
| 28 | * |
||
| 29 | * @param string $hook Name of the hook to trigger. |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | 2 | public function getCode(string $hook): string |
|
| 37 | } |
||
| 38 | } |