public function toInstance($instance) : self
    {
        $this->untarget = null;
        $this->bound = new Instance($instance);
        $this->container->add($this);

        return $this;
    }
public function toInstance($instance) : self
    {
        $this->untarget = null;
        $this->bound = new Instance($instance);
        $this->container->add($this);

        return $this;
    }
public function toInstance ( $ instance ) : self { $ this -> untarget = null ; $ this -> bound = new Instance ( $ instance ) ; $ this -> container -> add ( $ this ) ; return $ this ; }
Bind to instance
Bind to instance