Файл: forsoc.ru/cache/container_64cd73d669dd8f337d8b1b251fc6bd39.php
Строк: 4819
<?php
use SymfonyComponentDependencyInjectionContainerInterface;
use SymfonyComponentDependencyInjectionContainer;
use SymfonyComponentDependencyInjectionExceptionInactiveScopeException;
use SymfonyComponentDependencyInjectionExceptionInvalidArgumentException;
use SymfonyComponentDependencyInjectionExceptionLogicException;
use SymfonyComponentDependencyInjectionExceptionRuntimeException;
use SymfonyComponentDependencyInjectionParameterBagFrozenParameterBag;
/**
* phpbb_cache_container.
*
* This class has been auto-generated
* by the Symfony Dependency Injection Component.
*/
class phpbb_cache_container extends SymfonyComponentDependencyInjectionContainerBuilder
{
private $parameters;
private $targetDirs = array();
/**
* Constructor.
*/
public function __construct()
{
$this->parameters = $this->getDefaultParameters();
$this->services =
$this->scopedServices =
$this->scopeStacks = array();
$this->scopes = array();
$this->scopeChildren = array();
$this->methodMap = array(
'acl.permissions' => 'getAcl_PermissionsService',
'alg.forumsponsor.listener' => 'getAlg_Forumsponsor_ListenerService',
'apwa.pmwelcome.listener' => 'getApwa_Pmwelcome_ListenerService',
'auth' => 'getAuthService',
'auth.provider.apache' => 'getAuth_Provider_ApacheService',
'auth.provider.db' => 'getAuth_Provider_DbService',
'auth.provider.ldap' => 'getAuth_Provider_LdapService',
'auth.provider.oauth' => 'getAuth_Provider_OauthService',
'auth.provider.oauth.service.bitly' => 'getAuth_Provider_Oauth_Service_BitlyService',
'auth.provider.oauth.service.facebook' => 'getAuth_Provider_Oauth_Service_FacebookService',
'auth.provider.oauth.service.google' => 'getAuth_Provider_Oauth_Service_GoogleService',
'auth.provider.oauth.service_collection' => 'getAuth_Provider_Oauth_ServiceCollectionService',
'auth.provider_collection' => 'getAuth_ProviderCollectionService',
'avatar.driver.gravatar' => 'getAvatar_Driver_GravatarService',
'avatar.driver.local' => 'getAvatar_Driver_LocalService',
'avatar.driver.remote' => 'getAvatar_Driver_RemoteService',
'avatar.driver.upload' => 'getAvatar_Driver_UploadService',
'avatar.driver_collection' => 'getAvatar_DriverCollectionService',
'avatar.manager' => 'getAvatar_ManagerService',
'bb3mobi.mobiledevices.helper' => 'getBb3mobi_Mobiledevices_HelperService',
'bb3mobi.mobiledevices.listener' => 'getBb3mobi_Mobiledevices_ListenerService',
'bb3mobi.seodesc.listener' => 'getBb3mobi_Seodesc_ListenerService',
'cache' => 'getCacheService',
'cache.driver' => 'getCache_DriverService',
'captcha.factory' => 'getCaptcha_FactoryService',
'captcha.plugins.service_collection' => 'getCaptcha_Plugins_ServiceCollectionService',
'class_loader' => 'getClassLoaderService',
'class_loader.ext' => 'getClassLoader_ExtService',
'config' => 'getConfigService',
'config.php' => 'getConfig_PhpService',
'config_text' => 'getConfigTextService',
'console.command.cache.purge' => 'getConsole_Command_Cache_PurgeService',
'console.command.config.delete' => 'getConsole_Command_Config_DeleteService',
'console.command.config.get' => 'getConsole_Command_Config_GetService',
'console.command.config.increment' => 'getConsole_Command_Config_IncrementService',
'console.command.config.set' => 'getConsole_Command_Config_SetService',
'console.command.config.set_atomic' => 'getConsole_Command_Config_SetAtomicService',
'console.command.cron.list' => 'getConsole_Command_Cron_ListService',
'console.command.cron.run' => 'getConsole_Command_Cron_RunService',
'console.command.db.migrate' => 'getConsole_Command_Db_MigrateService',
'console.command.dev.migration_tips' => 'getConsole_Command_Dev_MigrationTipsService',
'console.command.extension.disable' => 'getConsole_Command_Extension_DisableService',
'console.command.extension.enable' => 'getConsole_Command_Extension_EnableService',
'console.command.extension.purge' => 'getConsole_Command_Extension_PurgeService',
'console.command.extension.show' => 'getConsole_Command_Extension_ShowService',
'console.command.fixup.recalculate_email_hash' => 'getConsole_Command_Fixup_RecalculateEmailHashService',
'console.command_collection' => 'getConsole_CommandCollectionService',
'content.visibility' => 'getContent_VisibilityService',
'controller.helper' => 'getController_HelperService',
'controller.provider' => 'getController_ProviderService',
'controller.resolver' => 'getController_ResolverService',
'core.captcha.plugins.gd' => 'getCore_Captcha_Plugins_GdService',
'core.captcha.plugins.gd_wave' => 'getCore_Captcha_Plugins_GdWaveService',
'core.captcha.plugins.nogd' => 'getCore_Captcha_Plugins_NogdService',
'core.captcha.plugins.qa' => 'getCore_Captcha_Plugins_QaService',
'core.captcha.plugins.recaptcha' => 'getCore_Captcha_Plugins_RecaptchaService',
'cron.lock_db' => 'getCron_LockDbService',
'cron.manager' => 'getCron_ManagerService',
'cron.task.core.prune_all_forums' => 'getCron_Task_Core_PruneAllForumsService',
'cron.task.core.prune_forum' => 'getCron_Task_Core_PruneForumService',
'cron.task.core.prune_notifications' => 'getCron_Task_Core_PruneNotificationsService',
'cron.task.core.prune_shadow_topics' => 'getCron_Task_Core_PruneShadowTopicsService',
'cron.task.core.queue' => 'getCron_Task_Core_QueueService',
'cron.task.core.tidy_cache' => 'getCron_Task_Core_TidyCacheService',
'cron.task.core.tidy_database' => 'getCron_Task_Core_TidyDatabaseService',
'cron.task.core.tidy_plupload' => 'getCron_Task_Core_TidyPluploadService',
'cron.task.core.tidy_search' => 'getCron_Task_Core_TidySearchService',
'cron.task.core.tidy_sessions' => 'getCron_Task_Core_TidySessionsService',
'cron.task.core.tidy_warnings' => 'getCron_Task_Core_TidyWarningsService',
'cron.task_collection' => 'getCron_TaskCollectionService',
'dbal.conn' => 'getDbal_ConnService',
'dbal.conn.driver' => 'getDbal_Conn_DriverService',
'dbal.tools' => 'getDbal_ToolsService',
'dispatcher' => 'getDispatcherService',
'dmzx.topicauthor.listener' => 'getDmzx_Topicauthor_ListenerService',
'ext.manager' => 'getExt_ManagerService',
'feed.factory' => 'getFeed_FactoryService',
'feed.forum' => 'getFeed_ForumService',
'feed.forums' => 'getFeed_ForumsService',
'feed.helper' => 'getFeed_HelperService',
'feed.news' => 'getFeed_NewsService',
'feed.overall' => 'getFeed_OverallService',
'feed.topic' => 'getFeed_TopicService',
'feed.topics' => 'getFeed_TopicsService',
'feed.topics_active' => 'getFeed_TopicsActiveService',
'file_downloader' => 'getFileDownloaderService',
'filesystem' => 'getFilesystemService',
'groupposition.legend' => 'getGroupposition_LegendService',
'groupposition.teampage' => 'getGroupposition_TeampageService',
'hook_finder' => 'getHookFinderService',
'http_kernel' => 'getHttpKernelService',
'kernel_exception_subscriber' => 'getKernelExceptionSubscriberService',
'kernel_request_subscriber' => 'getKernelRequestSubscriberService',
'kernel_terminate_subscriber' => 'getKernelTerminateSubscriberService',
'log' => 'getLogService',
'message.form.admin' => 'getMessage_Form_AdminService',
'message.form.topic' => 'getMessage_Form_TopicService',
'message.form.user' => 'getMessage_Form_UserService',
'migrator' => 'getMigratorService',
'migrator.helper' => 'getMigrator_HelperService',
'migrator.tool.config' => 'getMigrator_Tool_ConfigService',
'migrator.tool.config_text' => 'getMigrator_Tool_ConfigTextService',
'migrator.tool.module' => 'getMigrator_Tool_ModuleService',
'migrator.tool.permission' => 'getMigrator_Tool_PermissionService',
'migrator.tool_collection' => 'getMigrator_ToolCollectionService',
'mimetype.content_guesser' => 'getMimetype_ContentGuesserService',
'mimetype.extension_guesser' => 'getMimetype_ExtensionGuesserService',
'mimetype.filebinary_mimetype_guesser' => 'getMimetype_FilebinaryMimetypeGuesserService',
'mimetype.fileinfo_mimetype_guesser' => 'getMimetype_FileinfoMimetypeGuesserService',
'mimetype.guesser' => 'getMimetype_GuesserService',
'mimetype.guesser_collection' => 'getMimetype_GuesserCollectionService',
'notification.method.email' => 'getNotification_Method_EmailService',
'notification.method.jabber' => 'getNotification_Method_JabberService',
'notification.method_collection' => 'getNotification_MethodCollectionService',
'notification.type.admin_activate_user' => 'getNotification_Type_AdminActivateUserService',
'notification.type.approve_post' => 'getNotification_Type_ApprovePostService',
'notification.type.approve_topic' => 'getNotification_Type_ApproveTopicService',
'notification.type.bookmark' => 'getNotification_Type_BookmarkService',
'notification.type.disapprove_post' => 'getNotification_Type_DisapprovePostService',
'notification.type.disapprove_topic' => 'getNotification_Type_DisapproveTopicService',
'notification.type.group_request' => 'getNotification_Type_GroupRequestService',
'notification.type.group_request_approved' => 'getNotification_Type_GroupRequestApprovedService',
'notification.type.pm' => 'getNotification_Type_PmService',
'notification.type.post' => 'getNotification_Type_PostService',
'notification.type.post_in_queue' => 'getNotification_Type_PostInQueueService',
'notification.type.quote' => 'getNotification_Type_QuoteService',
'notification.type.report_pm' => 'getNotification_Type_ReportPmService',
'notification.type.report_pm_closed' => 'getNotification_Type_ReportPmClosedService',
'notification.type.report_post' => 'getNotification_Type_ReportPostService',
'notification.type.report_post_closed' => 'getNotification_Type_ReportPostClosedService',
'notification.type.topic' => 'getNotification_Type_TopicService',
'notification.type.topic_in_queue' => 'getNotification_Type_TopicInQueueService',
'notification.type_collection' => 'getNotification_TypeCollectionService',
'notification_manager' => 'getNotificationManagerService',
'pagination' => 'getPaginationService',
'passwords.driver.bcrypt' => 'getPasswords_Driver_BcryptService',
'passwords.driver.bcrypt_2y' => 'getPasswords_Driver_Bcrypt2yService',
'passwords.driver.bcrypt_wcf2' => 'getPasswords_Driver_BcryptWcf2Service',
'passwords.driver.convert_password' => 'getPasswords_Driver_ConvertPasswordService',
'passwords.driver.md5_mybb' => 'getPasswords_Driver_Md5MybbService',
'passwords.driver.md5_phpbb2' => 'getPasswords_Driver_Md5Phpbb2Service',
'passwords.driver.md5_vb' => 'getPasswords_Driver_Md5VbService',
'passwords.driver.phpass' => 'getPasswords_Driver_PhpassService',
'passwords.driver.salted_md5' => 'getPasswords_Driver_SaltedMd5Service',
'passwords.driver.sha1' => 'getPasswords_Driver_Sha1Service',
'passwords.driver.sha1_smf' => 'getPasswords_Driver_Sha1SmfService',
'passwords.driver.sha1_wcf1' => 'getPasswords_Driver_Sha1Wcf1Service',
'passwords.driver_collection' => 'getPasswords_DriverCollectionService',
'passwords.driver_helper' => 'getPasswords_DriverHelperService',
'passwords.helper' => 'getPasswords_HelperService',
'passwords.manager' => 'getPasswords_ManagerService',
'path_helper' => 'getPathHelperService',
'paybas.recenttopics.functions' => 'getPaybas_Recenttopics_FunctionsService',
'paybas.recenttopics.listener' => 'getPaybas_Recenttopics_ListenerService',
'php_ini' => 'getPhpIniService',
'plupload' => 'getPluploadService',
'profilefields.lang_helper' => 'getProfilefields_LangHelperService',
'profilefields.manager' => 'getProfilefields_ManagerService',
'profilefields.type.bool' => 'getProfilefields_Type_BoolService',
'profilefields.type.date' => 'getProfilefields_Type_DateService',
'profilefields.type.dropdown' => 'getProfilefields_Type_DropdownService',
'profilefields.type.googleplus' => 'getProfilefields_Type_GoogleplusService',
'profilefields.type.int' => 'getProfilefields_Type_IntService',
'profilefields.type.string' => 'getProfilefields_Type_StringService',
'profilefields.type.text' => 'getProfilefields_Type_TextService',
'profilefields.type.url' => 'getProfilefields_Type_UrlService',
'profilefields.type_collection' => 'getProfilefields_TypeCollectionService',
'request' => 'getRequestService',
'sheer.delnotifications.listener' => 'getSheer_Delnotifications_ListenerService',
'shredder.sitemap.appender' => 'getShredder_Sitemap_AppenderService',
'shredder.sitemap.controller' => 'getShredder_Sitemap_ControllerService',
'shredder.sitemap.core' => 'getShredder_Sitemap_CoreService',
'shredder.sitemap.listener' => 'getShredder_Sitemap_ListenerService',
'symfony_request' => 'getSymfonyRequestService',
'symfony_response_listener' => 'getSymfonyResponseListenerService',
'template' => 'getTemplateService',
'template_context' => 'getTemplateContextService',
'user' => 'getUserService',
'user_loader' => 'getUserLoaderService',
'version_helper' => 'getVersionHelperService',
'viewonline_helper' => 'getViewonlineHelperService',
'vinny.shareon.listener' => 'getVinny_Shareon_ListenerService',
'vse.similartopics.fulltext_support' => 'getVse_Similartopics_FulltextSupportService',
'vse.similartopics.listener' => 'getVse_Similartopics_ListenerService',
'vse.similartopics.manager' => 'getVse_Similartopics_ManagerService',
'vse.similartopics.ucp_listener' => 'getVse_Similartopics_UcpListenerService',
);
$this->aliases = array();
}
/**
* Gets the 'acl.permissions' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpermissions A phpbbpermissions instance.
*/
protected function getAcl_PermissionsService()
{
return $this->services['acl.permissions'] = new phpbbpermissions($this->get('dispatcher'), $this->get('user'));
}
/**
* Gets the 'alg.forumsponsor.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return algForumSponsoreventlistener A algForumSponsoreventlistener instance.
*/
protected function getAlg_Forumsponsor_ListenerService()
{
return $this->services['alg.forumsponsor.listener'] = new algForumSponsoreventlistener($this->get('template'), $this->get('user'), $this->get('request'), './../', 'php');
}
/**
* Gets the 'apwa.pmwelcome.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return apwapmwelcomeeventlistener A apwapmwelcomeeventlistener instance.
*/
protected function getApwa_Pmwelcome_ListenerService()
{
return $this->services['apwa.pmwelcome.listener'] = new apwapmwelcomeeventlistener($this->get('user'), $this->get('config'), $this->get('config_text'), './../', 'php');
}
/**
* Gets the 'auth' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthauth A phpbbauthauth instance.
*/
protected function getAuthService()
{
return $this->services['auth'] = new phpbbauthauth();
}
/**
* Gets the 'auth.provider.apache' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthproviderapache A phpbbauthproviderapache instance.
*/
protected function getAuth_Provider_ApacheService()
{
return $this->services['auth.provider.apache'] = new phpbbauthproviderapache($this->get('dbal.conn'), $this->get('config'), $this->get('passwords.manager'), $this->get('request'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'auth.provider.db' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthproviderdb A phpbbauthproviderdb instance.
*/
protected function getAuth_Provider_DbService()
{
return $this->services['auth.provider.db'] = new phpbbauthproviderdb($this->get('dbal.conn'), $this->get('config'), $this->get('passwords.manager'), $this->get('request'), $this->get('user'), $this, './../', 'php');
}
/**
* Gets the 'auth.provider.ldap' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthproviderldap A phpbbauthproviderldap instance.
*/
protected function getAuth_Provider_LdapService()
{
return $this->services['auth.provider.ldap'] = new phpbbauthproviderldap($this->get('dbal.conn'), $this->get('config'), $this->get('passwords.manager'), $this->get('user'));
}
/**
* Gets the 'auth.provider.oauth' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthprovideroauthoauth A phpbbauthprovideroauthoauth instance.
*/
protected function getAuth_Provider_OauthService()
{
return $this->services['auth.provider.oauth'] = new phpbbauthprovideroauthoauth($this->get('dbal.conn'), $this->get('config'), $this->get('passwords.manager'), $this->get('request'), $this->get('user'), 'phpoauth_tokens', 'phpoauth_accounts', $this->get('auth.provider.oauth.service_collection'), 'phpusers', $this, './../', 'php');
}
/**
* Gets the 'auth.provider.oauth.service.bitly' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthprovideroauthservicebitly A phpbbauthprovideroauthservicebitly instance.
*/
protected function getAuth_Provider_Oauth_Service_BitlyService()
{
return $this->services['auth.provider.oauth.service.bitly'] = new phpbbauthprovideroauthservicebitly($this->get('config'), $this->get('request'));
}
/**
* Gets the 'auth.provider.oauth.service.facebook' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthprovideroauthservicefacebook A phpbbauthprovideroauthservicefacebook instance.
*/
protected function getAuth_Provider_Oauth_Service_FacebookService()
{
return $this->services['auth.provider.oauth.service.facebook'] = new phpbbauthprovideroauthservicefacebook($this->get('config'), $this->get('request'));
}
/**
* Gets the 'auth.provider.oauth.service.google' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthprovideroauthservicegoogle A phpbbauthprovideroauthservicegoogle instance.
*/
protected function getAuth_Provider_Oauth_Service_GoogleService()
{
return $this->services['auth.provider.oauth.service.google'] = new phpbbauthprovideroauthservicegoogle($this->get('config'), $this->get('request'));
}
/**
* Gets the 'auth.provider.oauth.service_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getAuth_Provider_Oauth_ServiceCollectionService()
{
$this->services['auth.provider.oauth.service_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('auth.provider.oauth.service.bitly');
$instance->add('auth.provider.oauth.service.facebook');
$instance->add('auth.provider.oauth.service.google');
return $instance;
}
/**
* Gets the 'auth.provider_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbauthprovider_collection A phpbbauthprovider_collection instance.
*/
protected function getAuth_ProviderCollectionService()
{
$this->services['auth.provider_collection'] = $instance = new phpbbauthprovider_collection($this, $this->get('config'));
$instance->add('auth.provider.db');
$instance->add('auth.provider.apache');
$instance->add('auth.provider.ldap');
$instance->add('auth.provider.oauth');
return $instance;
}
/**
* Gets the 'avatar.driver.gravatar' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbavatardrivergravatar A phpbbavatardrivergravatar instance.
*/
protected function getAvatar_Driver_GravatarService()
{
$this->services['avatar.driver.gravatar'] = $instance = new phpbbavatardrivergravatar($this->get('config'), './../', 'php', $this->get('path_helper'), $this->get('cache.driver'));
$instance->set_name('avatar.driver.gravatar');
return $instance;
}
/**
* Gets the 'avatar.driver.local' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbavatardriverlocal A phpbbavatardriverlocal instance.
*/
protected function getAvatar_Driver_LocalService()
{
$this->services['avatar.driver.local'] = $instance = new phpbbavatardriverlocal($this->get('config'), './../', 'php', $this->get('path_helper'), $this->get('cache.driver'));
$instance->set_name('avatar.driver.local');
return $instance;
}
/**
* Gets the 'avatar.driver.remote' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbavatardriverremote A phpbbavatardriverremote instance.
*/
protected function getAvatar_Driver_RemoteService()
{
$this->services['avatar.driver.remote'] = $instance = new phpbbavatardriverremote($this->get('config'), './../', 'php', $this->get('path_helper'), $this->get('cache.driver'));
$instance->set_name('avatar.driver.remote');
return $instance;
}
/**
* Gets the 'avatar.driver.upload' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbavatardriverupload A phpbbavatardriverupload instance.
*/
protected function getAvatar_Driver_UploadService()
{
$this->services['avatar.driver.upload'] = $instance = new phpbbavatardriverupload($this->get('config'), './../', 'php', $this->get('path_helper'), $this->get('mimetype.guesser'), $this->get('dispatcher'), $this->get('cache.driver'));
$instance->set_name('avatar.driver.upload');
return $instance;
}
/**
* Gets the 'avatar.driver_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getAvatar_DriverCollectionService()
{
$this->services['avatar.driver_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('avatar.driver.gravatar');
$instance->add('avatar.driver.local');
$instance->add('avatar.driver.remote');
$instance->add('avatar.driver.upload');
return $instance;
}
/**
* Gets the 'avatar.manager' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbavatarmanager A phpbbavatarmanager instance.
*/
protected function getAvatar_ManagerService()
{
return $this->services['avatar.manager'] = new phpbbavatarmanager($this->get('config'), $this->get('avatar.driver_collection'));
}
/**
* Gets the 'bb3mobi.mobiledevices.helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return bb3mobiMobileDevicescorehelper A bb3mobiMobileDevicescorehelper instance.
*/
protected function getBb3mobi_Mobiledevices_HelperService()
{
return $this->services['bb3mobi.mobiledevices.helper'] = new bb3mobiMobileDevicescorehelper($this->get('config'), $this->get('request'), $this->get('path_helper'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'bb3mobi.mobiledevices.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return bb3mobiMobileDeviceseventlistener A bb3mobiMobileDeviceseventlistener instance.
*/
protected function getBb3mobi_Mobiledevices_ListenerService()
{
return $this->services['bb3mobi.mobiledevices.listener'] = new bb3mobiMobileDeviceseventlistener($this->get('bb3mobi.mobiledevices.helper'));
}
/**
* Gets the 'bb3mobi.seodesc.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return bb3mobiseodesceventlistener A bb3mobiseodesceventlistener instance.
*/
protected function getBb3mobi_Seodesc_ListenerService()
{
return $this->services['bb3mobi.seodesc.listener'] = new bb3mobiseodesceventlistener($this->get('template'));
}
/**
* Gets the 'cache' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcacheservice A phpbbcacheservice instance.
*/
protected function getCacheService()
{
return $this->services['cache'] = new phpbbcacheservice($this->get('cache.driver'), $this->get('config'), $this->get('dbal.conn'), './../', 'php');
}
/**
* Gets the 'cache.driver' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcachedriverfile A phpbbcachedriverfile instance.
*/
protected function getCache_DriverService()
{
return $this->services['cache.driver'] = new phpbbcachedriverfile();
}
/**
* Gets the 'captcha.factory' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcaptchafactory A phpbbcaptchafactory instance.
*/
protected function getCaptcha_FactoryService()
{
return $this->services['captcha.factory'] = new phpbbcaptchafactory($this, $this->get('captcha.plugins.service_collection'));
}
/**
* Gets the 'captcha.plugins.service_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getCaptcha_Plugins_ServiceCollectionService()
{
$this->services['captcha.plugins.service_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('core.captcha.plugins.gd');
$instance->add('core.captcha.plugins.gd_wave');
$instance->add('core.captcha.plugins.nogd');
$instance->add('core.captcha.plugins.qa');
$instance->add('core.captcha.plugins.recaptcha');
return $instance;
}
/**
* Gets the 'class_loader' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbclass_loader A phpbbclass_loader instance.
*/
protected function getClassLoaderService()
{
$this->services['class_loader'] = $instance = new phpbbclass_loader('phpbb\', './../includes/', 'php');
$instance->register();
$instance->set_cache($this->get('cache.driver'));
return $instance;
}
/**
* Gets the 'class_loader.ext' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbclass_loader A phpbbclass_loader instance.
*/
protected function getClassLoader_ExtService()
{
$this->services['class_loader.ext'] = $instance = new phpbbclass_loader('\', './../ext/', 'php');
$instance->register();
$instance->set_cache($this->get('cache.driver'));
return $instance;
}
/**
* Gets the 'config' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconfigdb A phpbbconfigdb instance.
*/
protected function getConfigService()
{
return $this->services['config'] = new phpbbconfigdb($this->get('dbal.conn'), $this->get('cache.driver'), 'phpconfig');
}
/**
* Gets the 'config.php' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @throws RuntimeException always since this service is expected to be injected dynamically
*/
protected function getConfig_PhpService()
{
throw new RuntimeException('You have requested a synthetic service ("config.php"). The DIC does not know how to construct this service.');
}
/**
* Gets the 'config_text' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconfigdb_text A phpbbconfigdb_text instance.
*/
protected function getConfigTextService()
{
return $this->services['config_text'] = new phpbbconfigdb_text($this->get('dbal.conn'), 'phpconfig_text');
}
/**
* Gets the 'console.command.cache.purge' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandcachepurge A phpbbconsolecommandcachepurge instance.
*/
protected function getConsole_Command_Cache_PurgeService()
{
return $this->services['console.command.cache.purge'] = new phpbbconsolecommandcachepurge($this->get('user'), $this->get('cache.driver'), $this->get('dbal.conn'), $this->get('auth'), $this->get('log'), $this->get('config'));
}
/**
* Gets the 'console.command.config.delete' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandconfigdelete A phpbbconsolecommandconfigdelete instance.
*/
protected function getConsole_Command_Config_DeleteService()
{
return $this->services['console.command.config.delete'] = new phpbbconsolecommandconfigdelete($this->get('user'), $this->get('config'));
}
/**
* Gets the 'console.command.config.get' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandconfigget A phpbbconsolecommandconfigget instance.
*/
protected function getConsole_Command_Config_GetService()
{
return $this->services['console.command.config.get'] = new phpbbconsolecommandconfigget($this->get('user'), $this->get('config'));
}
/**
* Gets the 'console.command.config.increment' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandconfigincrement A phpbbconsolecommandconfigincrement instance.
*/
protected function getConsole_Command_Config_IncrementService()
{
return $this->services['console.command.config.increment'] = new phpbbconsolecommandconfigincrement($this->get('user'), $this->get('config'));
}
/**
* Gets the 'console.command.config.set' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandconfigset A phpbbconsolecommandconfigset instance.
*/
protected function getConsole_Command_Config_SetService()
{
return $this->services['console.command.config.set'] = new phpbbconsolecommandconfigset($this->get('user'), $this->get('config'));
}
/**
* Gets the 'console.command.config.set_atomic' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandconfigset_atomic A phpbbconsolecommandconfigset_atomic instance.
*/
protected function getConsole_Command_Config_SetAtomicService()
{
return $this->services['console.command.config.set_atomic'] = new phpbbconsolecommandconfigset_atomic($this->get('user'), $this->get('config'));
}
/**
* Gets the 'console.command.cron.list' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandcroncron_list A phpbbconsolecommandcroncron_list instance.
*/
protected function getConsole_Command_Cron_ListService()
{
return $this->services['console.command.cron.list'] = new phpbbconsolecommandcroncron_list($this->get('user'), $this->get('cron.manager'));
}
/**
* Gets the 'console.command.cron.run' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandcronrun A phpbbconsolecommandcronrun instance.
*/
protected function getConsole_Command_Cron_RunService()
{
return $this->services['console.command.cron.run'] = new phpbbconsolecommandcronrun($this->get('user'), $this->get('cron.manager'), $this->get('cron.lock_db'));
}
/**
* Gets the 'console.command.db.migrate' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommanddbmigrate A phpbbconsolecommanddbmigrate instance.
*/
protected function getConsole_Command_Db_MigrateService()
{
return $this->services['console.command.db.migrate'] = new phpbbconsolecommanddbmigrate($this->get('user'), $this->get('migrator'), $this->get('ext.manager'), $this->get('config'), $this->get('cache'), $this->get('log'), './../');
}
/**
* Gets the 'console.command.dev.migration_tips' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommanddevmigration_tips A phpbbconsolecommanddevmigration_tips instance.
*/
protected function getConsole_Command_Dev_MigrationTipsService()
{
return $this->services['console.command.dev.migration_tips'] = new phpbbconsolecommanddevmigration_tips($this->get('user'), $this->get('ext.manager'));
}
/**
* Gets the 'console.command.extension.disable' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandextensiondisable A phpbbconsolecommandextensiondisable instance.
*/
protected function getConsole_Command_Extension_DisableService()
{
return $this->services['console.command.extension.disable'] = new phpbbconsolecommandextensiondisable($this->get('user'), $this->get('ext.manager'), $this->get('log'));
}
/**
* Gets the 'console.command.extension.enable' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandextensionenable A phpbbconsolecommandextensionenable instance.
*/
protected function getConsole_Command_Extension_EnableService()
{
return $this->services['console.command.extension.enable'] = new phpbbconsolecommandextensionenable($this->get('user'), $this->get('ext.manager'), $this->get('log'));
}
/**
* Gets the 'console.command.extension.purge' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandextensionpurge A phpbbconsolecommandextensionpurge instance.
*/
protected function getConsole_Command_Extension_PurgeService()
{
return $this->services['console.command.extension.purge'] = new phpbbconsolecommandextensionpurge($this->get('user'), $this->get('ext.manager'), $this->get('log'));
}
/**
* Gets the 'console.command.extension.show' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandextensionshow A phpbbconsolecommandextensionshow instance.
*/
protected function getConsole_Command_Extension_ShowService()
{
return $this->services['console.command.extension.show'] = new phpbbconsolecommandextensionshow($this->get('user'), $this->get('ext.manager'), $this->get('log'));
}
/**
* Gets the 'console.command.fixup.recalculate_email_hash' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbconsolecommandfixuprecalculate_email_hash A phpbbconsolecommandfixuprecalculate_email_hash instance.
*/
protected function getConsole_Command_Fixup_RecalculateEmailHashService()
{
return $this->services['console.command.fixup.recalculate_email_hash'] = new phpbbconsolecommandfixuprecalculate_email_hash($this->get('user'), $this->get('dbal.conn'));
}
/**
* Gets the 'console.command_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getConsole_CommandCollectionService()
{
$this->services['console.command_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('console.command.cache.purge');
$instance->add('console.command.config.delete');
$instance->add('console.command.config.increment');
$instance->add('console.command.config.get');
$instance->add('console.command.config.set');
$instance->add('console.command.config.set_atomic');
$instance->add('console.command.cron.list');
$instance->add('console.command.cron.run');
$instance->add('console.command.db.migrate');
$instance->add('console.command.dev.migration_tips');
$instance->add('console.command.extension.disable');
$instance->add('console.command.extension.enable');
$instance->add('console.command.extension.purge');
$instance->add('console.command.extension.show');
$instance->add('console.command.fixup.recalculate_email_hash');
return $instance;
}
/**
* Gets the 'content.visibility' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcontent_visibility A phpbbcontent_visibility instance.
*/
protected function getContent_VisibilityService()
{
return $this->services['content.visibility'] = new phpbbcontent_visibility($this->get('auth'), $this->get('config'), $this->get('dispatcher'), $this->get('dbal.conn'), $this->get('user'), './../', 'php', 'phpforums', 'phpposts', 'phptopics', 'phpusers');
}
/**
* Gets the 'controller.helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcontrollerhelper A phpbbcontrollerhelper instance.
*/
protected function getController_HelperService()
{
return $this->services['controller.helper'] = new phpbbcontrollerhelper($this->get('template'), $this->get('user'), $this->get('config'), $this->get('controller.provider'), $this->get('ext.manager'), $this->get('symfony_request'), $this->get('request'), $this->get('filesystem'), './../', 'php');
}
/**
* Gets the 'controller.provider' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcontrollerprovider A phpbbcontrollerprovider instance.
*/
protected function getController_ProviderService()
{
$this->services['controller.provider'] = $instance = new phpbbcontrollerprovider();
$instance->find('./../');
return $instance;
}
/**
* Gets the 'controller.resolver' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcontrollerresolver A phpbbcontrollerresolver instance.
*/
protected function getController_ResolverService()
{
return $this->services['controller.resolver'] = new phpbbcontrollerresolver($this->get('user'), $this, './../', $this->get('template'));
}
/**
* Gets the 'core.captcha.plugins.gd' service.
*
* @return phpbbcaptchapluginsgd A phpbbcaptchapluginsgd instance.
*/
protected function getCore_Captcha_Plugins_GdService()
{
$instance = new phpbbcaptchapluginsgd();
$instance->set_name('core.captcha.plugins.gd');
return $instance;
}
/**
* Gets the 'core.captcha.plugins.gd_wave' service.
*
* @return phpbbcaptchapluginsgd_wave A phpbbcaptchapluginsgd_wave instance.
*/
protected function getCore_Captcha_Plugins_GdWaveService()
{
$instance = new phpbbcaptchapluginsgd_wave();
$instance->set_name('core.captcha.plugins.gd_wave');
return $instance;
}
/**
* Gets the 'core.captcha.plugins.nogd' service.
*
* @return phpbbcaptchapluginsnogd A phpbbcaptchapluginsnogd instance.
*/
protected function getCore_Captcha_Plugins_NogdService()
{
$instance = new phpbbcaptchapluginsnogd();
$instance->set_name('core.captcha.plugins.nogd');
return $instance;
}
/**
* Gets the 'core.captcha.plugins.qa' service.
*
* @return phpbbcaptchapluginsqa A phpbbcaptchapluginsqa instance.
*/
protected function getCore_Captcha_Plugins_QaService()
{
$instance = new phpbbcaptchapluginsqa('phpcaptcha_questions', 'phpcaptcha_answers', 'phpqa_confirm');
$instance->set_name('core.captcha.plugins.qa');
return $instance;
}
/**
* Gets the 'core.captcha.plugins.recaptcha' service.
*
* @return phpbbcaptchapluginsrecaptcha A phpbbcaptchapluginsrecaptcha instance.
*/
protected function getCore_Captcha_Plugins_RecaptchaService()
{
$instance = new phpbbcaptchapluginsrecaptcha();
$instance->set_name('core.captcha.plugins.recaptcha');
return $instance;
}
/**
* Gets the 'cron.lock_db' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbblockdb A phpbblockdb instance.
*/
protected function getCron_LockDbService()
{
return $this->services['cron.lock_db'] = new phpbblockdb('cron_lock', $this->get('config'), $this->get('dbal.conn'));
}
/**
* Gets the 'cron.manager' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcronmanager A phpbbcronmanager instance.
*/
protected function getCron_ManagerService()
{
return $this->services['cron.manager'] = new phpbbcronmanager($this->get('cron.task_collection'), './../', 'php');
}
/**
* Gets the 'cron.task.core.prune_all_forums' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoreprune_all_forums A phpbbcrontaskcoreprune_all_forums instance.
*/
protected function getCron_Task_Core_PruneAllForumsService()
{
$this->services['cron.task.core.prune_all_forums'] = $instance = new phpbbcrontaskcoreprune_all_forums('./../', 'php', $this->get('config'), $this->get('dbal.conn'));
$instance->set_name('cron.task.core.prune_all_forums');
return $instance;
}
/**
* Gets the 'cron.task.core.prune_forum' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoreprune_forum A phpbbcrontaskcoreprune_forum instance.
*/
protected function getCron_Task_Core_PruneForumService()
{
$this->services['cron.task.core.prune_forum'] = $instance = new phpbbcrontaskcoreprune_forum('./../', 'php', $this->get('config'), $this->get('dbal.conn'));
$instance->set_name('cron.task.core.prune_forum');
return $instance;
}
/**
* Gets the 'cron.task.core.prune_notifications' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoreprune_notifications A phpbbcrontaskcoreprune_notifications instance.
*/
protected function getCron_Task_Core_PruneNotificationsService()
{
$this->services['cron.task.core.prune_notifications'] = $instance = new phpbbcrontaskcoreprune_notifications($this->get('config'), $this->get('notification_manager'));
$instance->set_name('cron.task.core.prune_notifications');
return $instance;
}
/**
* Gets the 'cron.task.core.prune_shadow_topics' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoreprune_shadow_topics A phpbbcrontaskcoreprune_shadow_topics instance.
*/
protected function getCron_Task_Core_PruneShadowTopicsService()
{
$this->services['cron.task.core.prune_shadow_topics'] = $instance = new phpbbcrontaskcoreprune_shadow_topics('./../', 'php', $this->get('config'), $this->get('dbal.conn'), $this->get('log'), $this->get('user'));
$instance->set_name('cron.task.core.prune_shadow_topics');
return $instance;
}
/**
* Gets the 'cron.task.core.queue' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcorequeue A phpbbcrontaskcorequeue instance.
*/
protected function getCron_Task_Core_QueueService()
{
$this->services['cron.task.core.queue'] = $instance = new phpbbcrontaskcorequeue('./../', 'php', $this->get('config'));
$instance->set_name('cron.task.core.queue');
return $instance;
}
/**
* Gets the 'cron.task.core.tidy_cache' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoretidy_cache A phpbbcrontaskcoretidy_cache instance.
*/
protected function getCron_Task_Core_TidyCacheService()
{
$this->services['cron.task.core.tidy_cache'] = $instance = new phpbbcrontaskcoretidy_cache($this->get('config'), $this->get('cache.driver'));
$instance->set_name('cron.task.core.tidy_cache');
return $instance;
}
/**
* Gets the 'cron.task.core.tidy_database' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoretidy_database A phpbbcrontaskcoretidy_database instance.
*/
protected function getCron_Task_Core_TidyDatabaseService()
{
$this->services['cron.task.core.tidy_database'] = $instance = new phpbbcrontaskcoretidy_database('./../', 'php', $this->get('config'));
$instance->set_name('cron.task.core.tidy_database');
return $instance;
}
/**
* Gets the 'cron.task.core.tidy_plupload' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoretidy_plupload A phpbbcrontaskcoretidy_plupload instance.
*/
protected function getCron_Task_Core_TidyPluploadService()
{
$this->services['cron.task.core.tidy_plupload'] = $instance = new phpbbcrontaskcoretidy_plupload('./../', $this->get('config'));
$instance->set_name('cron.task.core.tidy_plupload');
return $instance;
}
/**
* Gets the 'cron.task.core.tidy_search' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoretidy_search A phpbbcrontaskcoretidy_search instance.
*/
protected function getCron_Task_Core_TidySearchService()
{
$this->services['cron.task.core.tidy_search'] = $instance = new phpbbcrontaskcoretidy_search('./../', 'php', $this->get('auth'), $this->get('config'), $this->get('dbal.conn'), $this->get('user'), $this->get('dispatcher'));
$instance->set_name('cron.task.core.tidy_search');
return $instance;
}
/**
* Gets the 'cron.task.core.tidy_sessions' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoretidy_sessions A phpbbcrontaskcoretidy_sessions instance.
*/
protected function getCron_Task_Core_TidySessionsService()
{
$this->services['cron.task.core.tidy_sessions'] = $instance = new phpbbcrontaskcoretidy_sessions($this->get('config'), $this->get('user'));
$instance->set_name('cron.task.core.tidy_sessions');
return $instance;
}
/**
* Gets the 'cron.task.core.tidy_warnings' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbcrontaskcoretidy_warnings A phpbbcrontaskcoretidy_warnings instance.
*/
protected function getCron_Task_Core_TidyWarningsService()
{
$this->services['cron.task.core.tidy_warnings'] = $instance = new phpbbcrontaskcoretidy_warnings('./../', 'php', $this->get('config'));
$instance->set_name('cron.task.core.tidy_warnings');
return $instance;
}
/**
* Gets the 'cron.task_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getCron_TaskCollectionService()
{
$this->services['cron.task_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('cron.task.core.prune_all_forums');
$instance->add('cron.task.core.prune_forum');
$instance->add('cron.task.core.prune_shadow_topics');
$instance->add('cron.task.core.prune_notifications');
$instance->add('cron.task.core.queue');
$instance->add('cron.task.core.tidy_cache');
$instance->add('cron.task.core.tidy_database');
$instance->add('cron.task.core.tidy_plupload');
$instance->add('cron.task.core.tidy_search');
$instance->add('cron.task.core.tidy_sessions');
$instance->add('cron.task.core.tidy_warnings');
return $instance;
}
/**
* Gets the 'dbal.conn' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbdriverfactory A phpbbdbdriverfactory instance.
*/
protected function getDbal_ConnService()
{
return $this->services['dbal.conn'] = new phpbbdbdriverfactory($this);
}
/**
* Gets the 'dbal.conn.driver' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbdrivermysqli A phpbbdbdrivermysqli instance.
*/
protected function getDbal_Conn_DriverService()
{
$this->services['dbal.conn.driver'] = $instance = new phpbbdbdrivermysqli();
$instance->sql_connect('', 'poturesvard', 'melkij19911991', 'sawertinfad', '', false, false);
return $instance;
}
/**
* Gets the 'dbal.tools' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbtools A phpbbdbtools instance.
*/
protected function getDbal_ToolsService()
{
return $this->services['dbal.tools'] = new phpbbdbtools($this->get('dbal.conn'));
}
/**
* Gets the 'dispatcher' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbeventdispatcher A phpbbeventdispatcher instance.
*/
protected function getDispatcherService()
{
$this->services['dispatcher'] = $instance = new phpbbeventdispatcher($this);
$instance->addSubscriberService('alg.forumsponsor.listener', 'alg\ForumSponsor\event\listener');
$instance->addSubscriberService('apwa.pmwelcome.listener', 'apwa\pmwelcome\event\listener');
$instance->addSubscriberService('bb3mobi.mobiledevices.listener', 'bb3mobi\MobileDevices\event\listener');
$instance->addSubscriberService('bb3mobi.seodesc.listener', 'bb3mobi\seodesc\event\listener');
$instance->addSubscriberService('dmzx.topicauthor.listener', 'dmzx\topicauthor\event\listener');
$instance->addSubscriberService('paybas.recenttopics.listener', 'paybas\recenttopics\event\listener');
$instance->addSubscriberService('sheer.delnotifications.listener', 'sheer\delnotifications\event\listener');
$instance->addSubscriberService('shredder.sitemap.listener', 'shredder\sitemap\event\listener');
$instance->addSubscriberService('vinny.shareon.listener', 'vinny\shareon\event\listener');
$instance->addSubscriberService('vse.similartopics.listener', 'vse\similartopics\event\listener');
$instance->addSubscriberService('vse.similartopics.ucp_listener', 'vse\similartopics\event\ucp_listener');
$instance->addSubscriberService('kernel_request_subscriber', 'phpbb\event\kernel_request_subscriber');
$instance->addSubscriberService('kernel_exception_subscriber', 'phpbb\event\kernel_exception_subscriber');
$instance->addSubscriberService('kernel_terminate_subscriber', 'phpbb\event\kernel_terminate_subscriber');
$instance->addSubscriberService('symfony_response_listener', 'Symfony\Component\HttpKernel\EventListener\ResponseListener');
return $instance;
}
/**
* Gets the 'dmzx.topicauthor.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return dmzxtopicauthoreventlistener A dmzxtopicauthoreventlistener instance.
*/
protected function getDmzx_Topicauthor_ListenerService()
{
return $this->services['dmzx.topicauthor.listener'] = new dmzxtopicauthoreventlistener();
}
/**
* Gets the 'ext.manager' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbextensionmanager A phpbbextensionmanager instance.
*/
protected function getExt_ManagerService()
{
return $this->services['ext.manager'] = new phpbbextensionmanager($this, $this->get('dbal.conn'), $this->get('config'), $this->get('filesystem'), $this->get('user'), 'phpext', './../', 'php', $this->get('cache.driver'));
}
/**
* Gets the 'feed.factory' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbfeedfactory A phpbbfeedfactory instance.
*/
protected function getFeed_FactoryService()
{
return $this->services['feed.factory'] = new phpbbfeedfactory($this, $this->get('config'), $this->get('dbal.conn'));
}
/**
* Gets the 'feed.forum' service.
*
* @return phpbbfeedforum A phpbbfeedforum instance.
*/
protected function getFeed_ForumService()
{
return new phpbbfeedforum($this->get('feed.helper'), $this->get('config'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('content.visibility'), 'php');
}
/**
* Gets the 'feed.forums' service.
*
* @return phpbbfeedforums A phpbbfeedforums instance.
*/
protected function getFeed_ForumsService()
{
return new phpbbfeedforums($this->get('feed.helper'), $this->get('config'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('content.visibility'), 'php');
}
/**
* Gets the 'feed.helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbfeedhelper A phpbbfeedhelper instance.
*/
protected function getFeed_HelperService()
{
return $this->services['feed.helper'] = new phpbbfeedhelper($this->get('config'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'feed.news' service.
*
* @return phpbbfeednews A phpbbfeednews instance.
*/
protected function getFeed_NewsService()
{
return new phpbbfeednews($this->get('feed.helper'), $this->get('config'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('content.visibility'), 'php');
}
/**
* Gets the 'feed.overall' service.
*
* @return phpbbfeedoverall A phpbbfeedoverall instance.
*/
protected function getFeed_OverallService()
{
return new phpbbfeedoverall($this->get('feed.helper'), $this->get('config'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('content.visibility'), 'php');
}
/**
* Gets the 'feed.topic' service.
*
* @return phpbbfeedtopic A phpbbfeedtopic instance.
*/
protected function getFeed_TopicService()
{
return new phpbbfeedtopic($this->get('feed.helper'), $this->get('config'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('content.visibility'), 'php');
}
/**
* Gets the 'feed.topics' service.
*
* @return phpbbfeedtopics A phpbbfeedtopics instance.
*/
protected function getFeed_TopicsService()
{
return new phpbbfeedtopics($this->get('feed.helper'), $this->get('config'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('content.visibility'), 'php');
}
/**
* Gets the 'feed.topics_active' service.
*
* @return phpbbfeedtopics_active A phpbbfeedtopics_active instance.
*/
protected function getFeed_TopicsActiveService()
{
return new phpbbfeedtopics_active($this->get('feed.helper'), $this->get('config'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('content.visibility'), 'php');
}
/**
* Gets the 'file_downloader' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbfile_downloader A phpbbfile_downloader instance.
*/
protected function getFileDownloaderService()
{
return $this->services['file_downloader'] = new phpbbfile_downloader();
}
/**
* Gets the 'filesystem' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbfilesystem A phpbbfilesystem instance.
*/
protected function getFilesystemService()
{
return $this->services['filesystem'] = new phpbbfilesystem();
}
/**
* Gets the 'groupposition.legend' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbgrouppositionlegend A phpbbgrouppositionlegend instance.
*/
protected function getGroupposition_LegendService()
{
return $this->services['groupposition.legend'] = new phpbbgrouppositionlegend($this->get('dbal.conn'), $this->get('user'));
}
/**
* Gets the 'groupposition.teampage' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbgrouppositionteampage A phpbbgrouppositionteampage instance.
*/
protected function getGroupposition_TeampageService()
{
return $this->services['groupposition.teampage'] = new phpbbgrouppositionteampage($this->get('dbal.conn'), $this->get('user'), $this->get('cache.driver'));
}
/**
* Gets the 'hook_finder' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbhookfinder A phpbbhookfinder instance.
*/
protected function getHookFinderService()
{
return $this->services['hook_finder'] = new phpbbhookfinder('./../', 'php', $this->get('cache.driver'));
}
/**
* Gets the 'http_kernel' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return SymfonyComponentHttpKernelHttpKernel A SymfonyComponentHttpKernelHttpKernel instance.
*/
protected function getHttpKernelService()
{
return $this->services['http_kernel'] = new SymfonyComponentHttpKernelHttpKernel($this->get('dispatcher'), $this->get('controller.resolver'));
}
/**
* Gets the 'kernel_exception_subscriber' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbeventkernel_exception_subscriber A phpbbeventkernel_exception_subscriber instance.
*/
protected function getKernelExceptionSubscriberService()
{
return $this->services['kernel_exception_subscriber'] = new phpbbeventkernel_exception_subscriber($this->get('template'), $this->get('user'));
}
/**
* Gets the 'kernel_request_subscriber' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbeventkernel_request_subscriber A phpbbeventkernel_request_subscriber instance.
*/
protected function getKernelRequestSubscriberService()
{
return $this->services['kernel_request_subscriber'] = new phpbbeventkernel_request_subscriber($this->get('ext.manager'), './../', 'php');
}
/**
* Gets the 'kernel_terminate_subscriber' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbeventkernel_terminate_subscriber A phpbbeventkernel_terminate_subscriber instance.
*/
protected function getKernelTerminateSubscriberService()
{
return $this->services['kernel_terminate_subscriber'] = new phpbbeventkernel_terminate_subscriber();
}
/**
* Gets the 'log' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbloglog A phpbbloglog instance.
*/
protected function getLogService()
{
return $this->services['log'] = new phpbbloglog($this->get('dbal.conn'), $this->get('user'), $this->get('auth'), $this->get('dispatcher'), './../', 'adm/', 'php', 'phplog');
}
/**
* Gets the 'message.form.admin' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbmessageadmin_form A phpbbmessageadmin_form instance.
*/
protected function getMessage_Form_AdminService()
{
return $this->services['message.form.admin'] = new phpbbmessageadmin_form($this->get('auth'), $this->get('config'), $this->get('config_text'), $this->get('dbal.conn'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'message.form.topic' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbmessagetopic_form A phpbbmessagetopic_form instance.
*/
protected function getMessage_Form_TopicService()
{
return $this->services['message.form.topic'] = new phpbbmessagetopic_form($this->get('auth'), $this->get('config'), $this->get('dbal.conn'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'message.form.user' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbmessageuser_form A phpbbmessageuser_form instance.
*/
protected function getMessage_Form_UserService()
{
return $this->services['message.form.user'] = new phpbbmessageuser_form($this->get('auth'), $this->get('config'), $this->get('dbal.conn'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'migrator' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbmigrator A phpbbdbmigrator instance.
*/
protected function getMigratorService()
{
return $this->services['migrator'] = new phpbbdbmigrator($this, $this->get('config'), $this->get('dbal.conn'), $this->get('dbal.tools'), 'phpmigrations', './../', 'php', 'php', $this->get('migrator.tool_collection'), $this->get('migrator.helper'));
}
/**
* Gets the 'migrator.helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbmigrationhelper A phpbbdbmigrationhelper instance.
*/
protected function getMigrator_HelperService()
{
return $this->services['migrator.helper'] = new phpbbdbmigrationhelper();
}
/**
* Gets the 'migrator.tool.config' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbmigrationtoolconfig A phpbbdbmigrationtoolconfig instance.
*/
protected function getMigrator_Tool_ConfigService()
{
return $this->services['migrator.tool.config'] = new phpbbdbmigrationtoolconfig($this->get('config'));
}
/**
* Gets the 'migrator.tool.config_text' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbmigrationtoolconfig_text A phpbbdbmigrationtoolconfig_text instance.
*/
protected function getMigrator_Tool_ConfigTextService()
{
return $this->services['migrator.tool.config_text'] = new phpbbdbmigrationtoolconfig_text($this->get('config_text'));
}
/**
* Gets the 'migrator.tool.module' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbmigrationtoolmodule A phpbbdbmigrationtoolmodule instance.
*/
protected function getMigrator_Tool_ModuleService()
{
return $this->services['migrator.tool.module'] = new phpbbdbmigrationtoolmodule($this->get('dbal.conn'), $this->get('cache'), $this->get('user'), './../', 'php', 'phpmodules');
}
/**
* Gets the 'migrator.tool.permission' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdbmigrationtoolpermission A phpbbdbmigrationtoolpermission instance.
*/
protected function getMigrator_Tool_PermissionService()
{
return $this->services['migrator.tool.permission'] = new phpbbdbmigrationtoolpermission($this->get('dbal.conn'), $this->get('cache'), $this->get('auth'), './../', 'php');
}
/**
* Gets the 'migrator.tool_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getMigrator_ToolCollectionService()
{
$this->services['migrator.tool_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('migrator.tool.config');
$instance->add('migrator.tool.config_text');
$instance->add('migrator.tool.module');
$instance->add('migrator.tool.permission');
return $instance;
}
/**
* Gets the 'mimetype.content_guesser' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbmimetypecontent_guesser A phpbbmimetypecontent_guesser instance.
*/
protected function getMimetype_ContentGuesserService()
{
$this->services['mimetype.content_guesser'] = $instance = new phpbbmimetypecontent_guesser();
$instance->set_priority(-1);
return $instance;
}
/**
* Gets the 'mimetype.extension_guesser' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbmimetypeextension_guesser A phpbbmimetypeextension_guesser instance.
*/
protected function getMimetype_ExtensionGuesserService()
{
$this->services['mimetype.extension_guesser'] = $instance = new phpbbmimetypeextension_guesser();
$instance->set_priority(-2);
return $instance;
}
/**
* Gets the 'mimetype.filebinary_mimetype_guesser' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return SymfonyComponentHttpFoundationFileMimeTypeFileBinaryMimeTypeGuesser A SymfonyComponentHttpFoundationFileMimeTypeFileBinaryMimeTypeGuesser instance.
*/
protected function getMimetype_FilebinaryMimetypeGuesserService()
{
return $this->services['mimetype.filebinary_mimetype_guesser'] = new SymfonyComponentHttpFoundationFileMimeTypeFileBinaryMimeTypeGuesser();
}
/**
* Gets the 'mimetype.fileinfo_mimetype_guesser' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return SymfonyComponentHttpFoundationFileMimeTypeFileinfoMimeTypeGuesser A SymfonyComponentHttpFoundationFileMimeTypeFileinfoMimeTypeGuesser instance.
*/
protected function getMimetype_FileinfoMimetypeGuesserService()
{
return $this->services['mimetype.fileinfo_mimetype_guesser'] = new SymfonyComponentHttpFoundationFileMimeTypeFileinfoMimeTypeGuesser();
}
/**
* Gets the 'mimetype.guesser' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbmimetypeguesser A phpbbmimetypeguesser instance.
*/
protected function getMimetype_GuesserService()
{
return $this->services['mimetype.guesser'] = new phpbbmimetypeguesser($this->get('mimetype.guesser_collection'));
}
/**
* Gets the 'mimetype.guesser_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getMimetype_GuesserCollectionService()
{
$this->services['mimetype.guesser_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('mimetype.fileinfo_mimetype_guesser');
$instance->add('mimetype.filebinary_mimetype_guesser');
$instance->add('mimetype.content_guesser');
$instance->add('mimetype.extension_guesser');
return $instance;
}
/**
* Gets the 'notification.method.email' service.
*
* @return phpbbnotificationmethodemail A phpbbnotificationmethodemail instance.
*/
protected function getNotification_Method_EmailService()
{
return new phpbbnotificationmethodemail($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php');
}
/**
* Gets the 'notification.method.jabber' service.
*
* @return phpbbnotificationmethodjabber A phpbbnotificationmethodjabber instance.
*/
protected function getNotification_Method_JabberService()
{
return new phpbbnotificationmethodjabber($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php');
}
/**
* Gets the 'notification.method_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getNotification_MethodCollectionService()
{
$this->services['notification.method_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('notification.method.email');
$instance->add('notification.method.jabber');
return $instance;
}
/**
* Gets the 'notification.type.admin_activate_user' service.
*
* @return phpbbnotificationtypeadmin_activate_user A phpbbnotificationtypeadmin_activate_user instance.
*/
protected function getNotification_Type_AdminActivateUserService()
{
return new phpbbnotificationtypeadmin_activate_user($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.approve_post' service.
*
* @return phpbbnotificationtypeapprove_post A phpbbnotificationtypeapprove_post instance.
*/
protected function getNotification_Type_ApprovePostService()
{
return new phpbbnotificationtypeapprove_post($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.approve_topic' service.
*
* @return phpbbnotificationtypeapprove_topic A phpbbnotificationtypeapprove_topic instance.
*/
protected function getNotification_Type_ApproveTopicService()
{
return new phpbbnotificationtypeapprove_topic($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.bookmark' service.
*
* @return phpbbnotificationtypebookmark A phpbbnotificationtypebookmark instance.
*/
protected function getNotification_Type_BookmarkService()
{
return new phpbbnotificationtypebookmark($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.disapprove_post' service.
*
* @return phpbbnotificationtypedisapprove_post A phpbbnotificationtypedisapprove_post instance.
*/
protected function getNotification_Type_DisapprovePostService()
{
return new phpbbnotificationtypedisapprove_post($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.disapprove_topic' service.
*
* @return phpbbnotificationtypedisapprove_topic A phpbbnotificationtypedisapprove_topic instance.
*/
protected function getNotification_Type_DisapproveTopicService()
{
return new phpbbnotificationtypedisapprove_topic($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.group_request' service.
*
* @return phpbbnotificationtypegroup_request A phpbbnotificationtypegroup_request instance.
*/
protected function getNotification_Type_GroupRequestService()
{
return new phpbbnotificationtypegroup_request($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.group_request_approved' service.
*
* @return phpbbnotificationtypegroup_request_approved A phpbbnotificationtypegroup_request_approved instance.
*/
protected function getNotification_Type_GroupRequestApprovedService()
{
return new phpbbnotificationtypegroup_request_approved($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.pm' service.
*
* @return phpbbnotificationtypepm A phpbbnotificationtypepm instance.
*/
protected function getNotification_Type_PmService()
{
return new phpbbnotificationtypepm($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.post' service.
*
* @return phpbbnotificationtypepost A phpbbnotificationtypepost instance.
*/
protected function getNotification_Type_PostService()
{
return new phpbbnotificationtypepost($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.post_in_queue' service.
*
* @return phpbbnotificationtypepost_in_queue A phpbbnotificationtypepost_in_queue instance.
*/
protected function getNotification_Type_PostInQueueService()
{
return new phpbbnotificationtypepost_in_queue($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.quote' service.
*
* @return phpbbnotificationtypequote A phpbbnotificationtypequote instance.
*/
protected function getNotification_Type_QuoteService()
{
return new phpbbnotificationtypequote($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.report_pm' service.
*
* @return phpbbnotificationtypereport_pm A phpbbnotificationtypereport_pm instance.
*/
protected function getNotification_Type_ReportPmService()
{
return new phpbbnotificationtypereport_pm($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.report_pm_closed' service.
*
* @return phpbbnotificationtypereport_pm_closed A phpbbnotificationtypereport_pm_closed instance.
*/
protected function getNotification_Type_ReportPmClosedService()
{
return new phpbbnotificationtypereport_pm_closed($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.report_post' service.
*
* @return phpbbnotificationtypereport_post A phpbbnotificationtypereport_post instance.
*/
protected function getNotification_Type_ReportPostService()
{
return new phpbbnotificationtypereport_post($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.report_post_closed' service.
*
* @return phpbbnotificationtypereport_post_closed A phpbbnotificationtypereport_post_closed instance.
*/
protected function getNotification_Type_ReportPostClosedService()
{
return new phpbbnotificationtypereport_post_closed($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.topic' service.
*
* @return phpbbnotificationtypetopic A phpbbnotificationtypetopic instance.
*/
protected function getNotification_Type_TopicService()
{
return new phpbbnotificationtypetopic($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type.topic_in_queue' service.
*
* @return phpbbnotificationtypetopic_in_queue A phpbbnotificationtypetopic_in_queue instance.
*/
protected function getNotification_Type_TopicInQueueService()
{
return new phpbbnotificationtypetopic_in_queue($this->get('user_loader'), $this->get('dbal.conn'), $this->get('cache.driver'), $this->get('user'), $this->get('auth'), $this->get('config'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'notification.type_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getNotification_TypeCollectionService()
{
$this->services['notification.type_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('notification.type.approve_post');
$instance->add('notification.type.approve_topic');
$instance->add('notification.type.bookmark');
$instance->add('notification.type.disapprove_post');
$instance->add('notification.type.disapprove_topic');
$instance->add('notification.type.group_request');
$instance->add('notification.type.group_request_approved');
$instance->add('notification.type.pm');
$instance->add('notification.type.post');
$instance->add('notification.type.post_in_queue');
$instance->add('notification.type.quote');
$instance->add('notification.type.report_pm');
$instance->add('notification.type.report_pm_closed');
$instance->add('notification.type.report_post');
$instance->add('notification.type.report_post_closed');
$instance->add('notification.type.topic');
$instance->add('notification.type.topic_in_queue');
$instance->add('notification.type.admin_activate_user');
return $instance;
}
/**
* Gets the 'notification_manager' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbnotificationmanager A phpbbnotificationmanager instance.
*/
protected function getNotificationManagerService()
{
return $this->services['notification_manager'] = new phpbbnotificationmanager($this->get('notification.type_collection'), $this->get('notification.method_collection'), $this, $this->get('user_loader'), $this->get('config'), $this->get('dispatcher'), $this->get('dbal.conn'), $this->get('cache'), $this->get('user'), './../', 'php', 'phpnotification_types', 'phpnotifications', 'phpuser_notifications');
}
/**
* Gets the 'pagination' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpagination A phpbbpagination instance.
*/
protected function getPaginationService()
{
return $this->services['pagination'] = new phpbbpagination($this->get('template'), $this->get('user'), $this->get('controller.helper'), $this->get('dispatcher'));
}
/**
* Gets the 'passwords.driver.bcrypt' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriverbcrypt A phpbbpasswordsdriverbcrypt instance.
*/
protected function getPasswords_Driver_BcryptService()
{
return $this->services['passwords.driver.bcrypt'] = new phpbbpasswordsdriverbcrypt($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.bcrypt_2y' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriverbcrypt_2y A phpbbpasswordsdriverbcrypt_2y instance.
*/
protected function getPasswords_Driver_Bcrypt2yService()
{
return $this->services['passwords.driver.bcrypt_2y'] = new phpbbpasswordsdriverbcrypt_2y($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.bcrypt_wcf2' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriverbcrypt_wcf2 A phpbbpasswordsdriverbcrypt_wcf2 instance.
*/
protected function getPasswords_Driver_BcryptWcf2Service()
{
return $this->services['passwords.driver.bcrypt_wcf2'] = new phpbbpasswordsdriverbcrypt_wcf2($this->get('passwords.driver.bcrypt'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.convert_password' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriverconvert_password A phpbbpasswordsdriverconvert_password instance.
*/
protected function getPasswords_Driver_ConvertPasswordService()
{
return $this->services['passwords.driver.convert_password'] = new phpbbpasswordsdriverconvert_password($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.md5_mybb' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdrivermd5_mybb A phpbbpasswordsdrivermd5_mybb instance.
*/
protected function getPasswords_Driver_Md5MybbService()
{
return $this->services['passwords.driver.md5_mybb'] = new phpbbpasswordsdrivermd5_mybb($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.md5_phpbb2' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdrivermd5_phpbb2 A phpbbpasswordsdrivermd5_phpbb2 instance.
*/
protected function getPasswords_Driver_Md5Phpbb2Service()
{
return $this->services['passwords.driver.md5_phpbb2'] = new phpbbpasswordsdrivermd5_phpbb2($this->get('request'), $this->get('passwords.driver.salted_md5'), $this->get('passwords.driver_helper'), './../', 'php');
}
/**
* Gets the 'passwords.driver.md5_vb' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdrivermd5_vb A phpbbpasswordsdrivermd5_vb instance.
*/
protected function getPasswords_Driver_Md5VbService()
{
return $this->services['passwords.driver.md5_vb'] = new phpbbpasswordsdrivermd5_vb($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.phpass' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriverphpass A phpbbpasswordsdriverphpass instance.
*/
protected function getPasswords_Driver_PhpassService()
{
return $this->services['passwords.driver.phpass'] = new phpbbpasswordsdriverphpass($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.salted_md5' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriversalted_md5 A phpbbpasswordsdriversalted_md5 instance.
*/
protected function getPasswords_Driver_SaltedMd5Service()
{
return $this->services['passwords.driver.salted_md5'] = new phpbbpasswordsdriversalted_md5($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.sha1' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriversha1 A phpbbpasswordsdriversha1 instance.
*/
protected function getPasswords_Driver_Sha1Service()
{
return $this->services['passwords.driver.sha1'] = new phpbbpasswordsdriversha1($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.sha1_smf' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriversha1_smf A phpbbpasswordsdriversha1_smf instance.
*/
protected function getPasswords_Driver_Sha1SmfService()
{
return $this->services['passwords.driver.sha1_smf'] = new phpbbpasswordsdriversha1_smf($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver.sha1_wcf1' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriversha1_wcf1 A phpbbpasswordsdriversha1_wcf1 instance.
*/
protected function getPasswords_Driver_Sha1Wcf1Service()
{
return $this->services['passwords.driver.sha1_wcf1'] = new phpbbpasswordsdriversha1_wcf1($this->get('config'), $this->get('passwords.driver_helper'));
}
/**
* Gets the 'passwords.driver_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getPasswords_DriverCollectionService()
{
$this->services['passwords.driver_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('passwords.driver.bcrypt');
$instance->add('passwords.driver.bcrypt_2y');
$instance->add('passwords.driver.bcrypt_wcf2');
$instance->add('passwords.driver.salted_md5');
$instance->add('passwords.driver.phpass');
$instance->add('passwords.driver.convert_password');
$instance->add('passwords.driver.sha1_smf');
$instance->add('passwords.driver.sha1_wcf1');
$instance->add('passwords.driver.sha1');
$instance->add('passwords.driver.md5_phpbb2');
$instance->add('passwords.driver.md5_mybb');
$instance->add('passwords.driver.md5_vb');
return $instance;
}
/**
* Gets the 'passwords.driver_helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsdriverhelper A phpbbpasswordsdriverhelper instance.
*/
protected function getPasswords_DriverHelperService()
{
return $this->services['passwords.driver_helper'] = new phpbbpasswordsdriverhelper($this->get('config'));
}
/**
* Gets the 'passwords.helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordshelper A phpbbpasswordshelper instance.
*/
protected function getPasswords_HelperService()
{
return $this->services['passwords.helper'] = new phpbbpasswordshelper();
}
/**
* Gets the 'passwords.manager' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpasswordsmanager A phpbbpasswordsmanager instance.
*/
protected function getPasswords_ManagerService()
{
return $this->services['passwords.manager'] = new phpbbpasswordsmanager($this->get('config'), $this->get('passwords.driver_collection'), $this->get('passwords.helper'), array(0 => 'passwords.driver.bcrypt_2y', 1 => 'passwords.driver.bcrypt', 2 => 'passwords.driver.salted_md5', 3 => 'passwords.driver.phpass'));
}
/**
* Gets the 'path_helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpath_helper A phpbbpath_helper instance.
*/
protected function getPathHelperService()
{
return $this->services['path_helper'] = new phpbbpath_helper($this->get('symfony_request'), $this->get('filesystem'), $this->get('request'), './../', 'php', 'adm/');
}
/**
* Gets the 'paybas.recenttopics.functions' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return paybasrecenttopicscorerecenttopics A paybasrecenttopicscorerecenttopics instance.
*/
protected function getPaybas_Recenttopics_FunctionsService()
{
return $this->services['paybas.recenttopics.functions'] = new paybasrecenttopicscorerecenttopics($this->get('auth'), $this->get('cache'), $this->get('config'), $this->get('content.visibility'), $this->get('dbal.conn'), $this->get('dispatcher'), $this->get('pagination'), $this->get('request'), $this->get('template'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'paybas.recenttopics.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return paybasrecenttopicseventlistener A paybasrecenttopicseventlistener instance.
*/
protected function getPaybas_Recenttopics_ListenerService()
{
return $this->services['paybas.recenttopics.listener'] = new paybasrecenttopicseventlistener($this->get('paybas.recenttopics.functions'), $this->get('config'), $this->get('request'));
}
/**
* Gets the 'php_ini' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbphpini A phpbbphpini instance.
*/
protected function getPhpIniService()
{
return $this->services['php_ini'] = new phpbbphpini();
}
/**
* Gets the 'plupload' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbpluploadplupload A phpbbpluploadplupload instance.
*/
protected function getPluploadService()
{
return $this->services['plupload'] = new phpbbpluploadplupload('./../', $this->get('config'), $this->get('request'), $this->get('user'), $this->get('php_ini'), $this->get('mimetype.guesser'));
}
/**
* Gets the 'profilefields.lang_helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldslang_helper A phpbbprofilefieldslang_helper instance.
*/
protected function getProfilefields_LangHelperService()
{
return $this->services['profilefields.lang_helper'] = new phpbbprofilefieldslang_helper($this->get('dbal.conn'), 'phpprofile_fields_lang');
}
/**
* Gets the 'profilefields.manager' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldsmanager A phpbbprofilefieldsmanager instance.
*/
protected function getProfilefields_ManagerService()
{
return $this->services['profilefields.manager'] = new phpbbprofilefieldsmanager($this->get('auth'), $this->get('dbal.conn'), $this->get('dispatcher'), $this->get('request'), $this->get('template'), $this->get('profilefields.type_collection'), $this->get('user'), 'phpprofile_fields', 'phpprofile_lang', 'phpprofile_fields_data');
}
/**
* Gets the 'profilefields.type.bool' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldstypetype_bool A phpbbprofilefieldstypetype_bool instance.
*/
protected function getProfilefields_Type_BoolService()
{
return $this->services['profilefields.type.bool'] = new phpbbprofilefieldstypetype_bool($this->get('profilefields.lang_helper'), $this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'profilefields.type.date' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldstypetype_date A phpbbprofilefieldstypetype_date instance.
*/
protected function getProfilefields_Type_DateService()
{
return $this->services['profilefields.type.date'] = new phpbbprofilefieldstypetype_date($this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'profilefields.type.dropdown' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldstypetype_dropdown A phpbbprofilefieldstypetype_dropdown instance.
*/
protected function getProfilefields_Type_DropdownService()
{
return $this->services['profilefields.type.dropdown'] = new phpbbprofilefieldstypetype_dropdown($this->get('profilefields.lang_helper'), $this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'profilefields.type.googleplus' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldstypetype_googleplus A phpbbprofilefieldstypetype_googleplus instance.
*/
protected function getProfilefields_Type_GoogleplusService()
{
return $this->services['profilefields.type.googleplus'] = new phpbbprofilefieldstypetype_googleplus($this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'profilefields.type.int' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldstypetype_int A phpbbprofilefieldstypetype_int instance.
*/
protected function getProfilefields_Type_IntService()
{
return $this->services['profilefields.type.int'] = new phpbbprofilefieldstypetype_int($this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'profilefields.type.string' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldstypetype_string A phpbbprofilefieldstypetype_string instance.
*/
protected function getProfilefields_Type_StringService()
{
return $this->services['profilefields.type.string'] = new phpbbprofilefieldstypetype_string($this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'profilefields.type.text' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldstypetype_text A phpbbprofilefieldstypetype_text instance.
*/
protected function getProfilefields_Type_TextService()
{
return $this->services['profilefields.type.text'] = new phpbbprofilefieldstypetype_text($this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'profilefields.type.url' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbprofilefieldstypetype_url A phpbbprofilefieldstypetype_url instance.
*/
protected function getProfilefields_Type_UrlService()
{
return $this->services['profilefields.type.url'] = new phpbbprofilefieldstypetype_url($this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* Gets the 'profilefields.type_collection' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbdiservice_collection A phpbbdiservice_collection instance.
*/
protected function getProfilefields_TypeCollectionService()
{
$this->services['profilefields.type_collection'] = $instance = new phpbbdiservice_collection($this);
$instance->add('profilefields.type.bool');
$instance->add('profilefields.type.date');
$instance->add('profilefields.type.dropdown');
$instance->add('profilefields.type.googleplus');
$instance->add('profilefields.type.int');
$instance->add('profilefields.type.string');
$instance->add('profilefields.type.text');
$instance->add('profilefields.type.url');
return $instance;
}
/**
* Gets the 'request' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbrequestrequest A phpbbrequestrequest instance.
*/
protected function getRequestService()
{
return $this->services['request'] = new phpbbrequestrequest(NULL, true);
}
/**
* Gets the 'sheer.delnotifications.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return sheerdelnotificationseventlistener A sheerdelnotificationseventlistener instance.
*/
protected function getSheer_Delnotifications_ListenerService()
{
return $this->services['sheer.delnotifications.listener'] = new sheerdelnotificationseventlistener('./../');
}
/**
* Gets the 'shredder.sitemap.appender' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return shreddersitemapappender A shreddersitemapappender instance.
*/
protected function getShredder_Sitemap_AppenderService()
{
return $this->services['shredder.sitemap.appender'] = new shreddersitemapappender($this->get('config'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'shredder.sitemap.controller' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return shreddersitemapcontrollersitemap A shreddersitemapcontrollersitemap instance.
*/
protected function getShredder_Sitemap_ControllerService()
{
return $this->services['shredder.sitemap.controller'] = new shreddersitemapcontrollersitemap($this->get('shredder.sitemap.appender'), $this->get('shredder.sitemap.core'), $this->get('cache'), $this->get('config'), $this->get('user'));
}
/**
* Gets the 'shredder.sitemap.core' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return shreddersitemapcore A shreddersitemapcore instance.
*/
protected function getShredder_Sitemap_CoreService()
{
return $this->services['shredder.sitemap.core'] = new shreddersitemapcore($this->get('shredder.sitemap.appender'), $this->get('auth'), $this->get('config'), $this->get('config_text'), $this->get('dbal.conn'), $this, $this->get('ext.manager'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'shredder.sitemap.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return shreddersitemapeventlistener A shreddersitemapeventlistener instance.
*/
protected function getShredder_Sitemap_ListenerService()
{
return $this->services['shredder.sitemap.listener'] = new shreddersitemapeventlistener($this->get('auth'), $this->get('config'), $this->get('dbal.conn'), $this->get('template'), $this->get('user'), './../', 'php');
}
/**
* Gets the 'symfony_request' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbsymfony_request A phpbbsymfony_request instance.
*/
protected function getSymfonyRequestService()
{
return $this->services['symfony_request'] = new phpbbsymfony_request($this->get('request'));
}
/**
* Gets the 'symfony_response_listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return SymfonyComponentHttpKernelEventListenerResponseListener A SymfonyComponentHttpKernelEventListenerResponseListener instance.
*/
protected function getSymfonyResponseListenerService()
{
return $this->services['symfony_response_listener'] = new SymfonyComponentHttpKernelEventListenerResponseListener('UTF-8');
}
/**
* Gets the 'template' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbtemplatetwigtwig A phpbbtemplatetwigtwig instance.
*/
protected function getTemplateService()
{
return $this->services['template'] = new phpbbtemplatetwigtwig($this->get('path_helper'), $this->get('config'), $this->get('user'), $this->get('template_context'), $this->get('ext.manager'));
}
/**
* Gets the 'template_context' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbtemplatecontext A phpbbtemplatecontext instance.
*/
protected function getTemplateContextService()
{
return $this->services['template_context'] = new phpbbtemplatecontext();
}
/**
* Gets the 'user' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbuser A phpbbuser instance.
*/
protected function getUserService()
{
return $this->services['user'] = new phpbbuser('\phpbb\datetime');
}
/**
* Gets the 'user_loader' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbuser_loader A phpbbuser_loader instance.
*/
protected function getUserLoaderService()
{
return $this->services['user_loader'] = new phpbbuser_loader($this->get('dbal.conn'), './../', 'php', 'phpusers');
}
/**
* Gets the 'version_helper' service.
*
* @return phpbbversion_helper A phpbbversion_helper instance.
*/
protected function getVersionHelperService()
{
return new phpbbversion_helper($this->get('cache'), $this->get('config'), $this->get('file_downloader'), $this->get('user'));
}
/**
* Gets the 'viewonline_helper' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return phpbbviewonline_helper A phpbbviewonline_helper instance.
*/
protected function getViewonlineHelperService()
{
return $this->services['viewonline_helper'] = new phpbbviewonline_helper($this->get('filesystem'));
}
/**
* Gets the 'vinny.shareon.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return vinnyshareoneventlistener A vinnyshareoneventlistener instance.
*/
protected function getVinny_Shareon_ListenerService()
{
return $this->services['vinny.shareon.listener'] = new vinnyshareoneventlistener($this->get('controller.helper'), $this->get('template'), $this->get('config'), 'php');
}
/**
* Gets the 'vse.similartopics.fulltext_support' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return vsesimilartopicscorefulltext_support A vsesimilartopicscorefulltext_support instance.
*/
protected function getVse_Similartopics_FulltextSupportService()
{
return $this->services['vse.similartopics.fulltext_support'] = new vsesimilartopicscorefulltext_support($this->get('dbal.conn'));
}
/**
* Gets the 'vse.similartopics.listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return vsesimilartopicseventlistener A vsesimilartopicseventlistener instance.
*/
protected function getVse_Similartopics_ListenerService()
{
return $this->services['vse.similartopics.listener'] = new vsesimilartopicseventlistener($this->get('vse.similartopics.manager'));
}
/**
* Gets the 'vse.similartopics.manager' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return vsesimilartopicscoresimilar_topics A vsesimilartopicscoresimilar_topics instance.
*/
protected function getVse_Similartopics_ManagerService()
{
return $this->services['vse.similartopics.manager'] = new vsesimilartopicscoresimilar_topics($this->get('auth'), $this->get('cache'), $this->get('config'), $this->get('dbal.conn'), $this->get('dispatcher'), $this->get('pagination'), $this->get('request'), $this->get('template'), $this->get('user'), $this->get('content.visibility'), './../', 'php');
}
/**
* Gets the 'vse.similartopics.ucp_listener' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* @return vsesimilartopicseventucp_listener A vsesimilartopicseventucp_listener instance.
*/
protected function getVse_Similartopics_UcpListenerService()
{
return $this->services['vse.similartopics.ucp_listener'] = new vsesimilartopicseventucp_listener($this->get('auth'), $this->get('config'), $this->get('request'), $this->get('template'), $this->get('user'));
}
/**
* {@inheritdoc}
*/
public function getParameter($name)
{
$name = strtolower($name);
if (!(isset($this->parameters[$name]) || array_key_exists($name, $this->parameters))) {
throw new InvalidArgumentException(sprintf('The parameter "%s" must be defined.', $name));
}
return $this->parameters[$name];
}
/**
* {@inheritdoc}
*/
public function hasParameter($name)
{
$name = strtolower($name);
return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
}
/**
* {@inheritdoc}
*/
public function setParameter($name, $value)
{
throw new LogicException('Impossible to call set() on a frozen ParameterBag.');
}
/**
* {@inheritdoc}
*/
public function getParameterBag()
{
if (null === $this->parameterBag) {
$this->parameterBag = new FrozenParameterBag($this->parameters);
}
return $this->parameterBag;
}
/**
* Gets the default parameters.
*
* @return array An array of the default parameters
*/
protected function getDefaultParameters()
{
return array(
'core.root_path' => './../',
'core.php_ext' => 'php',
'tables.auth_provider_oauth_token_storage' => 'phpoauth_tokens',
'tables.auth_provider_oauth_account_assoc' => 'phpoauth_accounts',
'tables.captcha_qa_questions' => 'phpcaptcha_questions',
'tables.captcha_qa_answers' => 'phpcaptcha_answers',
'tables.captcha_qa_confirm' => 'phpqa_confirm',
'tables.config' => 'phpconfig',
'tables.config_text' => 'phpconfig_text',
'tables.ext' => 'phpext',
'tables.forums' => 'phpforums',
'tables.log' => 'phplog',
'tables.migrations' => 'phpmigrations',
'tables.modules' => 'phpmodules',
'tables.notification_types' => 'phpnotification_types',
'tables.notifications' => 'phpnotifications',
'tables.profile_fields' => 'phpprofile_fields',
'tables.profile_fields_data' => 'phpprofile_fields_data',
'tables.profile_fields_options_language' => 'phpprofile_fields_lang',
'tables.profile_fields_language' => 'phpprofile_lang',
'tables.posts' => 'phpposts',
'tables.topics' => 'phptopics',
'tables.user_notifications' => 'phpuser_notifications',
'tables.users' => 'phpusers',
'core.disable_super_globals' => true,
'datetime.class' => '\phpbb\datetime',
'mimetype.guesser.priority.lowest' => -2,
'mimetype.guesser.priority.low' => -1,
'mimetype.guesser.priority.default' => 0,
'mimetype.guesser.priority.high' => 1,
'mimetype.guesser.priority.highest' => 2,
'passwords.algorithms' => array(
0 => 'passwords.driver.bcrypt_2y',
1 => 'passwords.driver.bcrypt',
2 => 'passwords.driver.salted_md5',
3 => 'passwords.driver.phpass',
),
'core.adm_relative_path' => 'adm/',
'core.table_prefix' => 'php',
'cache.driver.class' => 'phpbb\cache\driver\file',
'dbal.driver.class' => 'phpbb\db\driver\mysqli',
'dbal.dbhost' => '',
'dbal.dbuser' => 'poturesvard',
'dbal.dbpasswd' => 'melkij19911991',
'dbal.dbname' => 'sawertinfad',
'dbal.dbport' => '',
'dbal.new_link' => false,
);
}
}