From 761b6d5c46112b88051a340058b17232ac38b6bd Mon Sep 17 00:00:00 2001 From: yf <291323003@qq.com> Date: Thu, 20 Jun 2019 23:29:25 +0800 Subject: [PATCH] up fix --- src/Config.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/src/Config.php b/src/Config.php index 81bf691..75a049c 100644 --- a/src/Config.php +++ b/src/Config.php @@ -12,7 +12,6 @@ class Config extends SplBean protected $tempDir; protected $workerNum = 3; protected $timeout = 3; - protected $socketPrefix; /** * @return mixed @@ -83,15 +82,7 @@ public function setTimeout(int $timeout): void */ public function getSocketPrefix() { - return $this->socketPrefix; - } - - /** - * @param mixed $socketPrefix - */ - public function setSocketPrefix($socketPrefix): void - { - $this->socketPrefix = $socketPrefix; + return md5(get_class($this->getRender())); } protected function initialize(): void @@ -101,6 +92,4 @@ protected function initialize(): void } } - - } \ No newline at end of file