src/Models/QueryLog.php
/**
     * Helper method, applies directly the required transformations to a database record
     * @param array $record A database record
     * @return array|record
     */
Helper method, applies directly the required transformations to a database record
@param array $record A database record
@return array|record
Helper method applies directly the required transformations to a database record @param array $record A database record @return array|record
private static function prepareRecord(&$record)
    {
        if (!$record) {
            return;
        }
        if (isset($record['parameters'])) {
            $record['parameters'] = json_decode($record['parameters']);
        }
        if (isset($record['additional_parameters'])) {
            $record['additional_parameters'] = json_decode($record['additional_parameters']);
        }
        if (isset($record['call_trace'])) {
            $record['call_trace'] = json_decode($record['call_trace']);
        }
    }
private static function prepareRecord ( & $ record ) { if ( ! $ record ) { return ; } if ( isset ( $ record [ 'parameters' ] ) ) { $ record [ 'parameters' ] = json_decode ( $ record [ 'parameters' ] ) ; } if ( isset ( $ record [ 'additional_parameters' ] ) ) { $ record [ 'additional_parameters' ] = json_decode ( $ record [ 'additional_parameters' ] ) ; } if ( isset ( $ record [ 'call_trace' ] ) ) { $ record [ 'call_trace' ] = json_decode ( $ record [ 'call_trace' ] ) ; } }
Helper method, applies directly the required transformations to a database record
 @param array $record A database record
 @return array|record
Helper method applies directly the required transformations to a database record @param array $record A database record @return array|record