src/ServerFactory.php
/**
     * Create configured server.
     * @param  array  $config Configuration parameters.
     * @return Server Configured server.
     */
Create configured server.
@param  array  $config Configuration parameters.
@return Server Configured server.
Create configured server . @param array $config Configuration parameters . @return Server Configured server .
public static function driver($driver)
    {
        $config = (new self)->getDriver($driver);
        return (new self($config))->getServer();
    }
public static function driver ( $ driver ) { $ config = ( new self ) -> getDriver ( $ driver ) ; return ( new self ( $ config ) ) -> getServer ( ) ; }
Create configured server.
Create configured server .