MongoConfig
in package
This class is automatically generated to help in creating a config.
Table of Contents
Properties
- $_usedProperties : mixed
- $collection : mixed
- $database : mixed
- $host : mixed
- $id : mixed
- $pass : mixed
- $port : mixed
- $user : mixed
Methods
- __construct() : mixed
- collection() : $this
- database() : $this
- host() : $this
- id() : $this
- pass() : $this
- port() : $this
- toArray() : array<string|int, mixed>
- user() : $this
Properties
$_usedProperties
private
mixed
$_usedProperties
= []
$collection
private
mixed
$collection
$database
private
mixed
$database
$host
private
mixed
$host
$id
private
mixed
$id
$pass
private
mixed
$pass
$port
private
mixed
$port
$user
private
mixed
$user
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
collection()
public
collection(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisdatabase()
public
database(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thishost()
public
host(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisid()
public
id(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thispass()
public
pass(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisport()
public
port(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thistoArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>user()
public
user(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed