Appearance
GitignoreBlock
php
final class Zairakai\LaravelDevTools\Services\GitignoreBlockThe block of .gitignore for the files of the tools.
Source: src/Services/GitignoreBlock.php
Constants
| Name | Value | Description |
|---|---|---|
BLOCK | `<<<'GITIGNORE' |
# Dev Tools temporary files
# ----------------
.*.tmp.*
.dev-tools-backup/
GITIGNORE` | |
Methods
added()
php
public static function added(string $text): stringThe text with the block added, or null when it already holds one (with this title or the older one).
removed()
php
public static function removed(string $text): stringThe text without the block, or null when it does not hold the block as the setup writes it.