Файл: concrete5.7.5.6/concrete/src/Application/ApplicationServiceProvider.php
Строк: 98
<?php
namespace ConcreteCoreApplication;
use ConcreteCoreFoundationServiceProvider as ServiceProvider;
class ApplicationServiceProvider extends ServiceProvider {
public function register() {
$singletons = array(
'helper/concrete/asset_library' => 'ConcreteCoreApplicationServiceFileManager',
'helper/concrete/file_manager' => 'ConcreteCoreApplicationServiceFileManager',
'helper/concrete/composer' => 'ConcreteCoreApplicationServiceComposer',
'helper/concrete/dashboard' => 'ConcreteCoreApplicationServiceDashboard',
'helper/concrete/dashboard/sitemap' => 'ConcreteCoreApplicationServiceDashboardSitemap',
'helper/concrete/ui' => 'ConcreteCoreApplicationServiceUserInterface',
'helper/concrete/ui/menu' => 'ConcreteCoreApplicationServiceUserInterfaceMenu',
'helper/concrete/ui/help' => 'ConcreteCoreApplicationServiceUserInterfaceHelp',
'helper/concrete/upgrade' => 'ConcreteCoreApplicationServiceUpgrade',
'helper/concrete/urls' => 'ConcreteCoreApplicationServiceUrls',
'helper/concrete/user' => 'ConcreteCoreApplicationServiceUser',
'helper/concrete/validation' => 'ConcreteCoreApplicationServiceValidation',
'helper/rating' => 'ConcreteAttributeRatingService',
'helper/pagination' => 'ConcreteCoreLegacyPagination',
'help' => 'ConcreteCoreApplicationServiceUserInterfaceHelp',
'help/core' => 'ConcreteCoreApplicationServiceUserInterfaceHelpCoreManager',
'help/dashboard' => 'ConcreteCoreApplicationServiceUserInterfaceHelpDashboardManager',
'help/block_type' => 'ConcreteCoreApplicationServiceUserInterfaceHelpBlockTypeManager',
'help/panel' => 'ConcreteCoreApplicationServiceUserInterfaceHelpPanelManager'
);
foreach($singletons as $key => $value) {
$this->app->singleton($key, $value);
}
$this->app->bind('error', 'ConcreteCoreErrorError');
/**
* @deprecated
*/
$this->app->singleton('helper/concrete/avatar', 'ConcreteCoreLegacyAvatar');
}
}