public function getScrollConfiguration($raw, $scrollDuration)
    {
        $scrollConfig = [];
        if (isset($raw['_scroll_id'])) {
            $scrollConfig['_scroll_id'] = $raw['_scroll_id'];
            $scrollConfig['duration'] = $scrollDuration;
        }

        return $scrollConfig;
    }
public function getScrollConfiguration($raw, $scrollDuration)
    {
        $scrollConfig = [];
        if (isset($raw['_scroll_id'])) {
            $scrollConfig['_scroll_id'] = $raw['_scroll_id'];
            $scrollConfig['duration'] = $scrollDuration;
        }

        return $scrollConfig;
    }
public function getScrollConfiguration ( $ raw , $ scrollDuration ) { $ scrollConfig = [ ] ; if ( isset ( $ raw [ '_scroll_id' ] ) ) { $ scrollConfig [ '_scroll_id' ] = $ raw [ '_scroll_id' ] ; $ scrollConfig [ 'duration' ] = $ scrollDuration ; } return $ scrollConfig ; }
Parses scroll configuration from raw response.

@param array  $raw
@param string $scrollDuration

@return array
Parses scroll configuration from raw response .