private function truncateTrace($thrower): void
    {
        /** @noinspection PhpUndefinedFieldInspection */
        /** @noinspection PhpUndefinedMethodInspection */
        $this->truncatedTrace = new ExceptionTrace($this->getTrace(), $this->file, $this->line);
        $options = $this->createOptionsForTruncateTrace($thrower);
        if (!$options) {
            return;
        }
        $this->truncatedTrace->truncate($options);
        /** @noinspection PhpUndefinedFieldInspection */
        $this->file = $this->truncatedTrace->file;
        /** @noinspection PhpUndefinedFieldInspection */
        $this->line = $this->truncatedTrace->line;
    }
private function truncateTrace($thrower): void
    {
        /** @noinspection PhpUndefinedFieldInspection */
        /** @noinspection PhpUndefinedMethodInspection */
        $this->truncatedTrace = new ExceptionTrace($this->getTrace(), $this->file, $this->line);
        $options = $this->createOptionsForTruncateTrace($thrower);
        if (!$options) {
            return;
        }
        $this->truncatedTrace->truncate($options);
        /** @noinspection PhpUndefinedFieldInspection */
        $this->file = $this->truncatedTrace->file;
        /** @noinspection PhpUndefinedFieldInspection */
        $this->line = $this->truncatedTrace->line;
    }
private function truncateTrace ( $ thrower ) : void { /** @noinspection PhpUndefinedFieldInspection */ /** @noinspection PhpUndefinedMethodInspection */ $ this -> truncatedTrace = new ExceptionTrace ( $ this -> getTrace ( ) , $ this -> file , $ this -> line ) ; $ options = $ this -> createOptionsForTruncateTrace ( $ thrower ) ; if ( ! $ options ) { return ; } $ this -> truncatedTrace -> truncate ( $ options ) ; /** @noinspection PhpUndefinedFieldInspection */ $ this -> file = $ this -> truncatedTrace -> file ; /** @noinspection PhpUndefinedFieldInspection */ $ this -> line = $ this -> truncatedTrace -> line ; }
Truncates the trace by howTruncateTrace options

@param mixed $thrower
Truncates the trace by howTruncateTrace options