Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function getServiceConfig() |
||
24 | { |
||
25 | return array( |
||
26 | 'factories' => array( |
||
27 | 'ZfTable\Example\Model\CustomerTable' => function($sm) { |
||
28 | $dbAdapter = $sm->get('Zend\Db\Adapter\Adapter'); |
||
29 | $table = new CustomerTable($dbAdapter); |
||
30 | return $table; |
||
31 | }, |
||
32 | ), |
||
33 | 'aliases' => array( |
||
34 | 'zfdb_adapter' => 'Zend\Db\Adapter\Adapter', |
||
35 | ), |
||
36 | ); |
||
37 | } |
||
38 | |||
46 | } |