public function getVersion()
    {
        $request = $this->apiRequestFactory->createRequest('GET', $this->getBaseUri() . '/version');
        $response = $this->httpClient->sendRequest($request);

        return $this->getResult($response, Version::class);
    }
public function getVersion()
    {
        $request = $this->apiRequestFactory->createRequest('GET', $this->getBaseUri() . '/version');
        $response = $this->httpClient->sendRequest($request);

        return $this->getResult($response, Version::class);
    }
public function getVersion ( ) { $ request = $ this -> apiRequestFactory -> createRequest ( 'GET' , $ this -> getBaseUri ( ) . '/version' ) ; $ response = $ this -> httpClient -> sendRequest ( $ request ) ; return $ this -> getResult ( $ response , Version :: class ) ; }
Gets directories versions.

@return Version|Error
Gets directories versions .