# Session::__construct

(No version information available, might only be in Git)

Session::__construct — Description constructor

### 说明

private mysql_xdevapi\Session::__construct()

A Session object, as initiated by getSession().

### 参数

此函数没有参数。

### 示例

示例 #1 mysql_xdevapi\Session::__construct() example

`<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$session->close();
?>`
`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open