yii\debug\Panel::getTraceLine PHP Метод

getTraceLine() публичный Метод

Returns a trace line
С версии: 2.0.7
public getTraceLine ( array $options ) : string
$options array The array with trace
Результат string the trace line
    public function getTraceLine($options)
    {
        if (!isset($options['text'])) {
            $options['text'] = "{$options['file']}:{$options['line']}";
        }
        $traceLine = $this->module->traceLine;
        if ($traceLine === false) {
            return $options['text'];
        } else {
            $options['file'] = str_replace('\\', '/', $options['file']);
            $rawLink = $traceLine instanceof \Closure ? call_user_func($traceLine, $options, $this) : $traceLine;
            return strtr($rawLink, ['{file}' => $options['file'], '{line}' => $options['line'], '{text}' => $options['text']]);
        }
    }