public function getToolbox($name = 'default')
    {
        if (!array_key_exists($name, $this->_toolboxes)) {
            throw new ClientException("The toolbox for connection ($name) does not exist! Is the connection added to the client?");
        }

        return $this->_toolboxes[$name];
    }
public function getToolbox($name = 'default')
    {
        if (!array_key_exists($name, $this->_toolboxes)) {
            throw new ClientException("The toolbox for connection ($name) does not exist! Is the connection added to the client?");
        }

        return $this->_toolboxes[$name];
    }
public function getToolbox ( $ name = 'default' ) { if ( ! array_key_exists ( $ name , $ this -> _toolboxes ) ) { throw new ClientException ( "The toolbox for connection ($name) does not exist! Is the connection added to the client?" ) ; } return $ this -> _toolboxes [ $ name ] ; }
Get a toolbox for a connection.
@param  string          $name The name of the connection.
@throws ClientException
@return Toolbox
Get a toolbox for a connection .