config->get( str_replace('config.', '', $id) ); } catch (Throwable $th) { if (!$this->canResolve($id)) { throw new NotFoundException($id, 0, $th); } throw $th; } } throw new NotFoundException($id); } /** @inheritDoc */ public function canResolve(string $id): bool { if (str_starts_with($id, 'config.')) { try { $id = str_replace('config.', '', $id); return $this->config->has($id); } catch (Throwable $th) { return false; } } return false; } }