Test Setup Failed
Push — master ( 04dcc4...d701d4 )
by Mikael
02:17
created

DatabaseConfigurable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A setOptions() 0 4 1
1
<?php
2
3
namespace Anax\Database;
4
5
/**
6
 * Namespaced exception.
7
 */
8
class DatabaseConfigurable extends Database implements \Anax\Common\ConfigurableInterface
9
{
10
    use \Anax\Common\ConfigurableTrait;
11
12
13
14
    /**
15
     * Set options and connection details from configuration.
16
     *
17
     * @return void
18
     */
19
    public function setOptions()
20
    {
21
        parent::setOptions($this->config);
22
    }
23
}
24