public function createUser(array $config = [ ])
    {
        $result = $this->createUserInternal($config);
        $statusCode = (int)$result[ 'statusCode' ];
        
        if ($statusCode === 200) {
            return $this->getResultAsArrayWithoutStatusCode($result);
        }
        
        $this->reportUnexpectedResponse($result, 1490802526);
    }
public function createUser(array $config = [ ])
    {
        $result = $this->createUserInternal($config);
        $statusCode = (int)$result[ 'statusCode' ];
        
        if ($statusCode === 200) {
            return $this->getResultAsArrayWithoutStatusCode($result);
        }
        
        $this->reportUnexpectedResponse($result, 1490802526);
    }
public function createUser ( array $ config = [ ] ) { $ result = $ this -> createUserInternal ( $ config ) ; $ statusCode = ( int ) $ result [ 'statusCode' ] ; if ( $ statusCode === 200 ) { return $ this -> getResultAsArrayWithoutStatusCode ( $ result ) ; } $ this -> reportUnexpectedResponse ( $ result , 1490802526 ) ; }
Create a user with the given information.

@param array $config An array key/value pairs of attributes for the new
user.
@return array An array of information about the new user.
@throws ServiceException
Create a user with the given information .