Ejemplo n.º 1
0
 public static function setApplicationConnection(Application $application, $connName)
 {
     $app = $application->getApp();
     $connection = $app['db'];
     $helperSet = $application->getHelperSet();
     $helperSet->set(new ConnectionHelper($connection), 'db');
 }