| 1: | <?php declare(strict_types=1); |
| 2: | |
| 3: | namespace Salient\Contract\Console\Target; |
| 4: | |
| 5: | /** |
| 6: | * @api |
| 7: | */ |
| 8: | interface HasPrefix extends TargetInterface |
| 9: | { |
| 10: | /** |
| 11: | * Set or unset the prefix applied to each line of output written to the |
| 12: | * target |
| 13: | * |
| 14: | * @return $this |
| 15: | */ |
| 16: | public function setPrefix(?string $prefix); |
| 17: | |
| 18: | /** |
| 19: | * Get the prefix applied to each line of output written to the target |
| 20: | */ |
| 21: | public function getPrefix(): ?string; |
| 22: | } |
| 23: |