src/Vectorface/SnappyRouter/Di/ServiceProvider.php
public function setService($key, $service)
    {
        $this->set($key, $service);
        unset($this->instanceCache[$key]);
        return $this;
    }
public function setService($key, $service)
    {
        $this->set($key, $service);
        unset($this->instanceCache[$key]);
        return $this;
    }
public function setService ( $ key , $ service ) { $ this -> set ( $ key , $ service ) ; unset ( $ this -> instanceCache [ $ key ] ) ; return $ this ; }
Specifies the mapping between the given key and service.
@param string $key The key to assign.
@param mixed $service The service to be assigned to the key.
@return Returns $this.
Specifies the mapping between the given key and service .