public function getRenderedDataAttribute() : ?string
    {
        if ($this->renderedData !== null) {
            return $this->renderedData;
        }

        if ($this->config->get('tracker.save_rendered', true) &&
            ($rendered = $this->getAttributeFromArray('data_rendered')) !== null) {
            return $this->renderedData = $rendered;
        }

        if (($raw = $this->getAttributeFromArray('data')) !== null) {
            return $this->renderedData = markdown($raw);
        }

        return null;
    }
public function getRenderedDataAttribute() : ?string
    {
        if ($this->renderedData !== null) {
            return $this->renderedData;
        }

        if ($this->config->get('tracker.save_rendered', true) &&
            ($rendered = $this->getAttributeFromArray('data_rendered')) !== null) {
            return $this->renderedData = $rendered;
        }

        if (($raw = $this->getAttributeFromArray('data')) !== null) {
            return $this->renderedData = markdown($raw);
        }

        return null;
    }
public function getRenderedDataAttribute ( ) : ? string { if ( $ this -> renderedData !== null ) { return $ this -> renderedData ; } if ( $ this -> config -> get ( 'tracker.save_rendered' , true ) && ( $ rendered = $ this -> getAttributeFromArray ( 'data_rendered' ) ) !== null ) { return $ this -> renderedData = $ rendered ; } if ( ( $ raw = $ this -> getAttributeFromArray ( 'data' ) ) !== null ) { return $ this -> renderedData = markdown ( $ raw ) ; } return null ; }
Get rendered data

@return null|string
Get rendered data