From 370b255862256ca0ef6c6b06f4b0a07f2061757a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Thu, 18 Nov 2021 15:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Contract/OnProcessInterface.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Contract/OnProcessInterface.php b/Contract/OnProcessInterface.php index d0d38b2..57b7adc 100644 --- a/Contract/OnProcessInterface.php +++ b/Contract/OnProcessInterface.php @@ -18,13 +18,8 @@ interface OnProcessInterface /** * @param Process $process */ - public function onProcessExec(Process $process): void; + public function process(Process $process): void; - /** - * - */ - public function onProcessStop(): void; - }