public function set($id, callable $resolver)
    {
        $this->innerSet($id, $resolver);
        unset($this->resolved[$id]);
        unset($this->singletons[$id]);
        return $this;
    }
public function set($id, callable $resolver)
    {
        $this->innerSet($id, $resolver);
        unset($this->resolved[$id]);
        unset($this->singletons[$id]);
        return $this;
    }
public function set ( $ id , callable $ resolver ) { $ this -> innerSet ( $ id , $ resolver ) ; unset ( $ this -> resolved [ $ id ] ) ; unset ( $ this -> singletons [ $ id ] ) ; return $ this ; }
Sets a resolver for entry of the container by its identifier.

@param string $id Identifier of the entry to look for.
@param callable $resolver Function that resolves the entry and returns it.

@return $this.
Sets a resolver for entry of the container by its identifier .