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(mixed $class, mixed $method = null): static { return $this; } }