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