Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function __construct($object) |
||
20 | { |
||
21 | $this->config = Reader::getConfig($object); |
||
22 | |||
23 | if (!array_key_exists('table', $this->config)) |
||
24 | throw new NoTableFoundException(); |
||
25 | |||
26 | $this->table = $this->config['table']; |
||
27 | $this->adapter = GlobalAdapterFeature::getStaticAdapter(); |
||
28 | |||
29 | $this->updateContext(); |
||
30 | } |
||
31 | |||
39 | } |