File tree 3 files changed +37
-0
lines changed
Symfony/Component/Console/Output
3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,14 @@ parameters:
12
12
console_application_loader : null
13
13
consoleApplicationLoader : null
14
14
stubFiles :
15
+ - stubs/Php/Stringable.stub
15
16
- stubs/Psr/Cache/CacheItemInterface.stub
16
17
- stubs/Symfony/Bundle/FrameworkBundle/KernelBrowser.stub
17
18
- stubs/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.stub
18
19
- stubs/Symfony/Bundle/FrameworkBundle/Test/TestContainer.stub
19
20
- stubs/Symfony/Component/Console/Command.stub
20
21
- stubs/Symfony/Component/Console/Helper/HelperInterface.stub
22
+ - stubs/Symfony/Component/Console/Output/OutputInterface.stub
21
23
- stubs/Symfony/Component/Form/ChoiceList/Loader/ChoiceLoaderInterface.stub
22
24
- stubs/Symfony/Component/DependencyInjection/ContainerBuilder.stub
23
25
- stubs/Symfony/Component/DependencyInjection/Extension/ExtensionInterface.stub
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ interface Stringable
4
+ {
5
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Console\Output;
4
+
5
+ use Stringable;
6
+
7
+ interface OutputInterface
8
+ {
9
+ public const VERBOSITY_QUIET = 16;
10
+ public const VERBOSITY_NORMAL = 32;
11
+ public const VERBOSITY_VERBOSE = 64;
12
+ public const VERBOSITY_VERY_VERBOSE = 128;
13
+ public const VERBOSITY_DEBUG = 256;
14
+
15
+ public const OUTPUT_NORMAL = 1;
16
+ public const OUTPUT_RAW = 2;
17
+ public const OUTPUT_PLAIN = 4;
18
+
19
+ /**
20
+ * @param string|Stringable|iterable<string|Stringable> $messages
21
+ * @param int-mask-of<self::VERBOSITY_*|self::OUTPUT_*> $options
22
+ */
23
+ public function write($messages, bool $newline = false, int $options = 0): void;
24
+
25
+ /**
26
+ * @param string|Stringable|iterable<string|Stringable> $messages
27
+ * @param int-mask-of<self::VERBOSITY_*|self::OUTPUT_*> $options
28
+ */
29
+ public function writeln($messages, int $options = 0): void;
30
+ }
You can’t perform that action at this time.
0 commit comments