src/Whoops/Exception/Frame.php
public function serialize()
    {
        $frame = $this->frame;
        if (!empty($this->comments)) {
            $frame['_comments'] = $this->comments;
        }

        return serialize($frame);
    }
public function serialize()
    {
        $frame = $this->frame;
        if (!empty($this->comments)) {
            $frame['_comments'] = $this->comments;
        }

        return serialize($frame);
    }
public function serialize ( ) { $ frame = $ this -> frame ; if ( ! empty ( $ this -> comments ) ) { $ frame [ '_comments' ] = $ this -> comments ; } return serialize ( $ frame ) ; }
Implements the Serializable interface, with special
steps to also save the existing comments.

@see Serializable::serialize
@return string
Implements the Serializable interface with special steps to also save the existing comments .