Doctrine\OrientDB\Binding\BindingParameters::__construct PHP Method

__construct() public method

Creates a new binding parameters instance.
public __construct ( string $host = null, string $port = null, string $username = null, string $password = null, string $database = null )
$host string
$port string
$username string
$password string
$database string
    public function __construct($host = null, $port = null, $username = null, $password = null, $database = null)
    {
        $this->host = $host ?: self::DEFAULT_HOST;
        $this->port = $port ?: self::DEFAULT_PORT;
        $this->username = $username;
        $this->password = $password;
        $this->database = $database;
    }