改名
This commit is contained in:
@@ -38,7 +38,7 @@ class Redis extends Component
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
#[Aspect(InjectProperty::class)] public function init()
|
||||
public function init()
|
||||
{
|
||||
$event = Snowflake::app()->getEvent();
|
||||
$event->on(Event::SYSTEM_RESOURCE_CLEAN, [$this, 'destroy']);
|
||||
|
||||
Reference in New Issue
Block a user