protected function wireReference(string $name, string $reference, array $config)
    {
        $service = $this->get($reference);
        $reflection = new ReflectionClass(get_class($service));
        $config = $this->config->get($name);
        $service = $this->prepareService($name, $service, $reflection, $config);

        return $service;
    }
protected function wireReference(string $name, string $reference, array $config)
    {
        $service = $this->get($reference);
        $reflection = new ReflectionClass(get_class($service));
        $config = $this->config->get($name);
        $service = $this->prepareService($name, $service, $reflection, $config);

        return $service;
    }
protected function wireReference ( string $ name , string $ reference , array $ config ) { $ service = $ this -> get ( $ reference ) ; $ reflection = new ReflectionClass ( get_class ( $ service ) ) ; $ config = $ this -> config -> get ( $ name ) ; $ service = $ this -> prepareService ( $ name , $ service , $ reflection , $ config ) ; return $ service ; }
Wire named referenced service.
Wire named referenced service .