Автор: Elliot Levin (elliot@aanet.com.au)
Наследование: extends Configuration
Пример #1
0
 public function GetStorm()
 {
     $Cache = self::UseCache && class_exists('Memcache', false) ? new \Storm\Utilities\Cache\MemcacheCache('localhost') : null;
     $Configuration = new Api\DefaultConfiguration(Mapping\BloggingDomainDatabaseMap::Factory(), self::GetConnection(), self::GetProxyGenerator(), $Cache);
     return $Configuration->Storm();
 }