| 1 | <?php |
||
| 10 | class Gitignore extends AbstractMiscellaneous |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Listing available templates |
||
| 15 | * |
||
| 16 | * @link https://developer.github.com/v3/gitignore/#listing-available-templates |
||
| 17 | * @return array |
||
| 18 | */ |
||
| 19 | public function listingAvailableTemplates(): array |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get a single template |
||
| 26 | * |
||
| 27 | * @link https://developer.github.com/v3/gitignore/#get-a-single-template |
||
| 28 | * |
||
| 29 | * @param string $name |
||
| 30 | * |
||
| 31 | * @return array |
||
| 32 | */ |
||
| 33 | public function getSingleTemplate(string $name): array |
||
| 37 | } |