1 | <?php |
||
7 | class MediaInfoCommandRunner |
||
8 | { |
||
9 | const FORCED_OLDXML_OUTPUT_FORMAT_ARGUMENTS = ['--OUTPUT=OLDXML', '-f']; |
||
10 | const XML_OUTPUT_FORMAT_ARGUMENTS = ['--OUTPUT=XML', '-f']; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $filePath; |
||
16 | |||
17 | /** |
||
18 | * @var Process |
||
19 | */ |
||
20 | protected $process; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $command = 'mediainfo'; |
||
26 | |||
27 | /** |
||
28 | * @var array |
||
29 | */ |
||
30 | protected $arguments = []; |
||
31 | |||
32 | /** |
||
33 | * @param string $filePath |
||
34 | * @param string $command |
||
35 | * @param array $arguments |
||
36 | * @param Process $process |
||
37 | * @param bool $forceOldXmlOutput |
||
38 | */ |
||
39 | 1 | public function __construct( |
|
88 | |||
89 | /** |
||
90 | * @throws \RuntimeException |
||
91 | * |
||
92 | * @return string |
||
93 | */ |
||
94 | public function run() |
||
103 | |||
104 | /** |
||
105 | * Asynchronously start mediainfo operation. |
||
106 | * Make call to MediaInfoCommandRunner::wait() afterwards to receive output. |
||
107 | */ |
||
108 | public function start() |
||
114 | |||
115 | /** |
||
116 | * Blocks until call is complete. |
||
117 | * |
||
118 | * @throws \Exception If this function is called before start() |
||
119 | * @throws \RuntimeException |
||
120 | * |
||
121 | * @return string |
||
122 | */ |
||
123 | public function wait() |
||
138 | } |
||
139 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.