public function getTraceLine($options)
    {
        if (!isset($options['text'])) {
            $options['text'] = "{$options['file']}:{$options['line']}";
        }
        $traceLine = $this->module->traceLine;
        if ($traceLine === false) {
            return $options['text'];
        }

        $options['file'] = str_replace('\\', '/', $options['file']);
        $rawLink = $traceLine instanceof \Closure ? $traceLine($options, $this) : $traceLine;
        return strtr($rawLink, ['{file}' => $options['file'], '{line}' => $options['line'], '{text}' => $options['text']]);
    }
public function getTraceLine($options)
    {
        if (!isset($options['text'])) {
            $options['text'] = "{$options['file']}:{$options['line']}";
        }
        $traceLine = $this->module->traceLine;
        if ($traceLine === false) {
            return $options['text'];
        }

        $options['file'] = str_replace('\\', '/', $options['file']);
        $rawLink = $traceLine instanceof \Closure ? $traceLine($options, $this) : $traceLine;
        return strtr($rawLink, ['{file}' => $options['file'], '{line}' => $options['line'], '{text}' => $options['text']]);
    }
public function getTraceLine ( $ options ) { if ( ! isset ( $ options [ 'text' ] ) ) { $ options [ 'text' ] = "{$options['file']}:{$options['line']}" ; } $ traceLine = $ this -> module -> traceLine ; if ( $ traceLine === false ) { return $ options [ 'text' ] ; } $ options [ 'file' ] = str_replace ( '\\' , '/' , $ options [ 'file' ] ) ; $ rawLink = $ traceLine instanceof \ Closure ? $ traceLine ( $ options , $ this ) : $ traceLine ; return strtr ( $ rawLink , [ '{file}' => $ options [ 'file' ] , '{line}' => $ options [ 'line' ] , '{text}' => $ options [ 'text' ] ] ) ; }
Returns a trace line
@param array $options The array with trace
@return string the trace line
@since 2.0.7
Returns a trace line