3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ parameters:
66
66
- stubs/Symfony/Component/Messenger/Envelope.stub
67
67
- stubs/Symfony/Component/OptionsResolver/Exception/InvalidOptionsException.stub
68
68
- stubs/Symfony/Component/OptionsResolver/Options.stub
69
+ - stubs/Symfony/Component/Process/Exception/LogicException.stub
69
70
- stubs/Symfony/Component/Process/Process.stub
70
71
- stubs/Symfony/Component/PropertyAccess/Exception/AccessException.stub
71
72
- stubs/Symfony/Component/PropertyAccess/Exception/ExceptionInterface.stub
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace Symfony\Component\Process\Exception;
4
+
5
+ class LogicException extends \Exception
6
+ {
7
+
8
+ }
Original file line number Diff line number Diff line change 2
2
3
3
namespace Symfony\Component\Process;
4
4
5
+ use Symfony\Component\Process\Exception\LogicException;
6
+
5
7
/**
6
8
* @implements \IteratorAggregate<string, string>
7
9
*/
8
10
class Process implements \IteratorAggregate
9
11
{
10
12
13
+ /**
14
+ * @param int $flags
15
+ *
16
+ * @return \Generator<string, string, mixed, mixed>
17
+ *
18
+ * @throws LogicException in case the output has been disabled
19
+ * @throws LogicException In case the process is not started
20
+ */
21
+ public function getIterator(int $flags = 0): \Generator
22
+ {
23
+
24
+ }
25
+
11
26
}
0 commit comments