This commit is contained in:
2021-02-23 14:16:08 +08:00
parent 8de7e6cfbc
commit 9e6ac6d92d
8 changed files with 275 additions and 279 deletions
+1 -7
View File
@@ -34,16 +34,10 @@ use Snowflake\Snowflake;
/**
* @param array $handler
* @return array|string
* @throws ReflectionException
* @throws NotFindClassException
*/
public function execute(array $handler): array|string
{
// TODO: Implement execute() method.
foreach ($this->interceptor as $key => $item) {
$this->interceptor[$key] = [Snowflake::createObject($item), 'Interceptor'];
}
return $this->interceptor;
return $this;
}
}