public function mapSingletons($kvs){
        foreach ($kvs as $k => $v){
            $this->mapSingleton($k,$v);
        }
    }
public function mapSingletons($kvs){
        foreach ($kvs as $k => $v){
            $this->mapSingleton($k,$v);
        }
    }
map singletons
@param $kvs