Form/AbstractFormBuilder.php
protected function initService(string $type, string $alias, array $options)
    {
        $id      = $this->resolverFactory->resolve($type, $alias);
        $service = $this->get($id);
        
        $service->setOptions($options);
        
        return $service;
    }
protected function initService(string $type, string $alias, array $options)
    {
        $id      = $this->resolverFactory->resolve($type, $alias);
        $service = $this->get($id);
        
        $service->setOptions($options);
        
        return $service;
    }
protected function initService ( string $ type , string $ alias , array $ options ) { $ id = $ this -> resolverFactory -> resolve ( $ type , $ alias ) ; $ service = $ this -> get ( $ id ) ; $ service -> setOptions ( $ options ) ; return $ service ; }
Initializes a service by its type

@param string $type
@param string $alias
@param array  $options

@return object
Initializes a service by its type