src/Jackiedo/LogReader/Entities/LogEntry.php
protected function reFormatForCompatibility($property)
    {
        switch (true) {
            case ($property == 'header'):
                $property = 'context';
                break;

            case ($property == 'stack'):
                $property = 'stack_traces';
                break;

            case ($property == 'filePath'):
                $property = 'file_path';
                break;

            default:
                # code...
                break;
        }

        return $property;
    }
protected function reFormatForCompatibility($property)
    {
        switch (true) {
            case ($property == 'header'):
                $property = 'context';
                break;

            case ($property == 'stack'):
                $property = 'stack_traces';
                break;

            case ($property == 'filePath'):
                $property = 'file_path';
                break;

            default:
                # code...
                break;
        }

        return $property;
    }
protected function reFormatForCompatibility ( $ property ) { switch ( true ) { case ( $ property == 'header' ) : $ property = 'context' ; break ; case ( $ property == 'stack' ) : $ property = 'stack_traces' ; break ; case ( $ property == 'filePath' ) : $ property = 'file_path' ; break ; default : # code... break ; } return $ property ; }
Convert the property strings to be compatible with older version

@param  string $property

@return string
Convert the property strings to be compatible with older version