Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 688
Zeile 602... Zeile 602...
602
    /**
602
    /**
603
     * Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR).
603
     * Returns an iterator to the output of the process, with the output type as keys (Process::OUT/ERR).
604
     *
604
     *
605
     * @param int $flags A bit field of Process::ITER_* flags
605
     * @param int $flags A bit field of Process::ITER_* flags
606
     *
606
     *
-
 
607
     * @return \Generator<string, string>
-
 
608
     *
607
     * @throws LogicException in case the output has been disabled
609
     * @throws LogicException in case the output has been disabled
608
     * @throws LogicException In case the process is not started
610
     * @throws LogicException In case the process is not started
609
     */
611
     */
610
    public function getIterator(int $flags = 0): \Generator
612
    public function getIterator(int $flags = 0): \Generator
611
    {
613
    {
Zeile 870... Zeile 872...
870
 
872
 
871
    /**
873
    /**
872
     * Stops the process.
874
     * Stops the process.
873
     *
875
     *
874
     * @param int|float $timeout The timeout in seconds
876
     * @param int|float $timeout The timeout in seconds
875
     * @param int       $signal  A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL (9)
877
     * @param int|null  $signal  A POSIX signal to send in case the process has not stop at timeout, default is SIGKILL (9)
876
     *
878
     *
877
     * @return int|null The exit-code of the process or null if it's not running
879
     * @return int|null The exit-code of the process or null if it's not running
878
     */
880
     */
879
    public function stop(float $timeout = 10, int $signal = null): ?int
881
    public function stop(float $timeout = 10, int $signal = null): ?int