Conditions | 3 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
68 | protected function getConnectionParameters () : array |
||
69 | { |
||
70 | $this->connectionParameters = array(); |
||
71 | |||
72 | $this->connectionParameters["driver"] = $this->driver; |
||
73 | $this->connectionParameters["user"] = $this->user; |
||
74 | $this->connectionParameters["password"] = $this->password; |
||
75 | |||
76 | if ( isset( $this->path ) && $this->path !== "" ) { |
||
77 | $this->connectionParameters["path"] = $this->path; |
||
78 | } |
||
79 | |||
80 | $this->connectionParameters["memory"] = $this->memory; |
||
81 | |||
82 | return $this->connectionParameters; |
||
83 | } |
||
85 |