Example #1
0
 public function __construct(Component $component)
 {
     Dependencies::check(array('sJo\\Db\\PDO\\Drivers\\Mysql'));
 }
Example #2
0
 /**
  * Déclaration des connexions
  *
  * @param array $data
  */
 public static final function auth(array $data)
 {
     Dependencies::register(get_called_class());
     self::$auth = $data;
     if (!is_array(array_shift($data))) {
         self::$auth = array(self::$auth);
     }
 }