public function recordInstall($package, $version)
    {
        $url = sprintf($this->extendSite . $this->urls['install'], $package, $version);

        try {
            $this->client->head($url);
        } catch (RequestException $e) {
            $this->loggerSystem->critical($e->getMessage(), ['event' => 'exception', 'exception' => $e]);
        }
    }
public function recordInstall($package, $version)
    {
        $url = sprintf($this->extendSite . $this->urls['install'], $package, $version);

        try {
            $this->client->head($url);
        } catch (RequestException $e) {
            $this->loggerSystem->critical($e->getMessage(), ['event' => 'exception', 'exception' => $e]);
        }
    }
public function recordInstall ( $ package , $ version ) { $ url = sprintf ( $ this -> extendSite . $ this -> urls [ 'install' ] , $ package , $ version ) ; try { $ this -> client -> head ( $ url ) ; } catch ( RequestException $ e ) { $ this -> loggerSystem -> critical ( $ e -> getMessage ( ) , [ 'event' => 'exception' , 'exception' => $ e ] ) ; } }
Record an extension install.

@param string $package
@param string $version
Record an extension install .