Пример #1
0
 /**
  * Ensures that the default options are initialized.
  *
  * @return array
  */
 private static function getSharedOptions()
 {
     if (isset(self::$_sharedOptions)) {
         return self::$_sharedOptions;
     }
     self::$_sharedOptions = array('profile' => new ClientProfile(), 'connections' => new ClientConnectionFactory(), 'cluster' => new ClientCluster(), 'prefix' => new ClientPrefix());
     return self::$_sharedOptions;
 }