__construct() __construct(\Framework\Config\ConfigService $config) : mixed Parameters \Framework\Config\ConfigService $config Returns mixed —
getCodeSnippet() getCodeSnippet(string $filePath, int $errorLine, int $context = 5) : string 获取错误行附近的代码片段(带行号和高亮). Parameters string $filePath int $errorLine int $context Returns string —