protected function legacyVersion($version)
    {
        $legacy = file_get_contents(__DIR__.'/../resources/legacy.json');

        $legacy = json_decode($legacy, true);

        return $legacy[$version];
    }
protected function legacyVersion($version)
    {
        $legacy = file_get_contents(__DIR__.'/../resources/legacy.json');

        $legacy = json_decode($legacy, true);

        return $legacy[$version];
    }
protected function legacyVersion ( $ version ) { $ legacy = file_get_contents ( __DIR__ . '/../resources/legacy.json' ) ; $ legacy = json_decode ( $ legacy , true ) ; return $ legacy [ $ version ] ; }
Get the ChromeDriver version for a legacy version of Chrome.

@param int $version
@return string
Get the ChromeDriver version for a legacy version of Chrome .