public function set($id, $service)
    {
        if (!$this->has($id)) {
            $this->repository->set($id, $service);
        }
    }
public function set($id, $service)
    {
        if (!$this->has($id)) {
            $this->repository->set($id, $service);
        }
    }
public function set ( $ id , $ service ) { if ( ! $ this -> has ( $ id ) ) { $ this -> repository -> set ( $ id , $ service ) ; } }
Bypass factory and register a service directly into repository.

@param string $id
@param mixed  $service
Bypass factory and register a service directly into repository .