src/VersionedStateExtension.php
protected function hasVersionedQuery($link)
    {
        // Find querystrings
        $parts = explode('?', $link, 2);
        if (count($parts) < 2) {
            return false;
        }

        // Parse args
        $readingMode = ReadingMode::fromQueryString($parts[1]);
        return !empty($readingMode);
    }
protected function hasVersionedQuery($link)
    {
        // Find querystrings
        $parts = explode('?', $link, 2);
        if (count($parts) < 2) {
            return false;
        }

        // Parse args
        $readingMode = ReadingMode::fromQueryString($parts[1]);
        return !empty($readingMode);
    }
protected function hasVersionedQuery ( $ link ) { // Find querystrings $ parts = explode ( '?' , $ link , 2 ) ; if ( count ( $ parts ) < 2 ) { return false ; } // Parse args $ readingMode = ReadingMode :: fromQueryString ( $ parts [ 1 ] ) ; return ! empty ( $ readingMode ) ; }
Check if link contains versioned queryargs

@param string $link
@return bool
Check if link contains versioned queryargs