public function build(): ConsulEnvManager
    {
        $kv = (new ServiceFactory([
            'base_uri' => $this->consulServer
        ]))->get('kv');

        $manager = new ConsulEnvManager(
            $kv,
            $this->overwriteEvenIfDefined
        );

        $this->clear();

        return $manager;
    }
public function build(): ConsulEnvManager
    {
        $kv = (new ServiceFactory([
            'base_uri' => $this->consulServer
        ]))->get('kv');

        $manager = new ConsulEnvManager(
            $kv,
            $this->overwriteEvenIfDefined
        );

        $this->clear();

        return $manager;
    }
public function build ( ) : ConsulEnvManager { $ kv = ( new ServiceFactory ( [ 'base_uri' => $ this -> consulServer ] ) ) -> get ( 'kv' ) ; $ manager = new ConsulEnvManager ( $ kv , $ this -> overwriteEvenIfDefined ) ; $ this -> clear ( ) ; return $ manager ; }
Build the manager with the properties that have been defined.

@return ConsulEnvManager
Build the manager with the properties that have been defined .