src/Factory/Form/Tree/SelectFactory.php
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        /* @var \Zend\ServiceManager\AbstractPluginManager $serviceLocator */
        $select = $this($serviceLocator, self::class, $this->options);
        $this->options = [];

        return $select;
    }
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        /* @var \Zend\ServiceManager\AbstractPluginManager $serviceLocator */
        $select = $this($serviceLocator, self::class, $this->options);
        $this->options = [];

        return $select;
    }
public function createService ( ServiceLocatorInterface $ serviceLocator ) { /* @var \Zend\ServiceManager\AbstractPluginManager $serviceLocator */ $ select = $ this ( $ serviceLocator , self :: class , $ this -> options ) ; $ this -> options = [ ] ; return $ select ; }
Create a tree select form element.

@internal
proxies to {@link __invoke}.

@param ServiceLocatorInterface $serviceLocator
@return Select
Create a tree select form element .