private function setInstantiator(Instantiator $instantiator)
    {
        $this->instantiator = $instantiator;
        $this->add(new Service($this->instantiator));
    }
private function setInstantiator(Instantiator $instantiator)
    {
        $this->instantiator = $instantiator;
        $this->add(new Service($this->instantiator));
    }
private function setInstantiator ( Instantiator $ instantiator ) { $ this -> instantiator = $ instantiator ; $ this -> add ( new Service ( $ this -> instantiator ) ) ; }
Set instantiator.

@param \Berlioz\ServiceContainer\Instantiator $instantiator

@throws \Berlioz\ServiceContainer\Exception\ContainerException
Set instantiator .