interceptor)) { $this->interceptor = [$this->interceptor]; } foreach ($this->interceptor as $key => $value) { $sn = Snowflake::createObject($value); if (!($sn instanceof \HttpServer\IInterface\Interceptor)) { continue; } $this->interceptor[$key] = [$sn, 'Interceptor']; } } /** * @param array $handler * @return Interceptor */ public function execute(array $handler): static { return $this; } }