Registers the users.

@return void
351317
protected function registerUsers()
    {
        $this->registerHasher();

        $this->app->singleton('sentinel.users', function ($app) {
            $config = $app['config']->get('cartalyst.sentinel.users');

            return new IlluminateUserRepository(
                $app['sentinel.hasher'], $app['events'], $config['model']
            );
        });
    }
51538
public function register()
    {
        foreach ($this->postTypes as $postType) {
            $this->app['posts.types']->register($postType);
            $this->app['filters']->listen(
                'theme_' . strtolower(class_basename($postType)) . '_templates',
                function ($page_templates) use ($postType) {
                    $laraPressTemplates = [];

                    foreach ($postType::getAvailableTemplates() as $key => $template) {
                        if (is_int($key)) {
                            $key = $template;
                            $template = ucwords(str_replace('-', ' ', $template));
                        }
                        $laraPressTemplates[$key] = $template;
                    }

                    return array_merge($page_templates, $laraPressTemplates);
                }
            );
        }
    }
874176
public function register()
	{
		$this->registerCommands();
        $this->registerPermission();
        $this->registerGroup();
        $this->registerUser();
        $this->registerPassword();
	}
663366
public function register() {

		$this->app->bind( Attributes::class, Attr::class );

		$this->app->alias( Attributes::class, 'attr' );
	}
297351
public function register()
    {
        $this->registerFileConfig();
        $this->registerDatabaseConfig();

        // Bind the concrete types
        $this->app->bind('Concrete\Core\Config\Repository\Repository', 'config');
        $this->app->bind('Illuminate\Config\Repository', 'Concrete\Core\Config\Repository\Repository');
    }
543506
public function register()
    {
        $this->registerFractal();
        $this->registerResponseBuilders();

        $this->app->bind(Responder::class, function ($app) {
            return new Responder($app[SuccessResponseBuilder::class], $app[ErrorResponseBuilder::class]);
        });

        $this->registerAliases();
    }
969147
public function register()
    {
        $this->app['actions']->listen('wp', function()
        {
            if (get_post() !== null && $post = Model::resolveWordpressPostToModel(get_post()))
            {
                $this->app->instance('post', $post);
            }
        });

        $this->registerLoopAndQuery();
        $this->registerPostManager();
        $this->registerPostTypeManager();
        $this->registerPostTypes();
    }
370789
public function registerUser()
    {
        $app = $this->app;

        $app->bind('Stevemo\Cpanel\User\Repo\CpanelUserInterface', function($app)
        {
            return new UserRepository($app['sentry'], $app['events']);
        });

        $app->bind('Stevemo\Cpanel\User\Form\UserFormInterface', function($app)
        {
            return new UserForm(
                new UserValidator($app['validator'], new MessageBag),
                $app->make('Stevemo\Cpanel\User\Repo\CpanelUserInterface')
            );
        });
    }
805752
public function register()
    {
        /** @var User $user */
        $user = $this->Users->newEntity($this->request->data);
        if ($this->request->is('post') && !empty($this->request->data)) {
            if ($this->Users->save($user)) {
                $this->loadModel('Wasabi/Core.Tokens');
                $this->Tokens->invalidateExistingTokens($user->id, TokensTable::TYPE_EMAIL_VERIFICATION);
                $token = $this->Tokens->generateToken($user, TokensTable::TYPE_EMAIL_VERIFICATION);
                $this->getMailer('Wasabi/Core.User')->send('verifyEmail', [$user, $token]);
                $this->Flash->success(__d('wasabi_core', 'Registration successful! We have sent you an email to verify your email address. Please follow the instructions in this email.'));
                $this->redirect(['action' => 'login']);
                return;
            }
            $this->Flash->error($this->formErrorMessage);
        }
        $this->set(['user' => $user]);
        $this->viewBuilder()->layout('Wasabi/Core.support');
    }
26718
public function register()
	{
        $this->mergeConfigFrom(
		    __DIR__.'/../config/themes.php', 'themes'
		);
		
		$this->registerServices();
		$this->registerNamespaces();

        $this->commands([
            GenerateTheme::class
        ]);
	}
996191
public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/authentication.php', 'authentication');

        $this->app->singleton(PasswordResetRepositoryContract::class, function ($app) {
            return new PasswordResetRepository($app['config']);
        });

        $this->app->singleton(UserRepositoryContract::class, function () {
            return new UserRepository();
        });

        $this->registerRegisterUserCommand();
        $this->registerAdminCommand();
        $this->registerBanCommand();
    }
806495
public function register()
    {
        $this->app['events']->listen('auth.login', 'Orchestra\OneAuth\Handlers\UserLoggedIn');
        $this->app['events']->listen('orchestra.oneauth.user: saved', 'Orchestra\OneAuth\Handlers\UserConnected');
        $this->app['events']->listen('auth.logout', 'Orchestra\OneAuth\Handlers\UserLoggedOut');
    }
123563
protected function registerUserRepository()
    {
        $this->app->singleton('userrepository', function ($app) {
            $model = $app['config']['sentry.users.model'];
            $user = new $model();

            $validator = $app['validator'];

            return new UserRepository($user, $validator);
        });

        $this->app->alias('userrepository', UserRepository::class);
    }
156827
public function register()
    {
        $this->app->booted(function () {
            $this->registerAllThemes();
            $this->setActiveTheme();
            $this->registerActiveThemeVendorNamespaces($this->app['stylist']->current()->getPath());
        });
    }
621618
public function register()
    {
        $this->registerRevisionRepository();
        $this->registerUserRepository();
        $this->registerGroupRepository();
        $this->registerCredentials();

        $this->registerLoginController();
        $this->registerRegistrationController();
        $this->registerResetController();
        $this->registerActivationController();
    }
140407
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'litecms.page');

        $this->app->bind('page', function ($app) {
            return $this->app->make('Litecms\Page\Page');
        });

        $this->app->bind(
            'Litecms\Page\Interfaces\PageRepositoryInterface',
            \Litecms\Page\Repositories\Eloquent\PageRepository::class
        );

        $this->app->register(\Litecms\Page\Providers\AuthServiceProvider::class);
        $this->app->register(\Litecms\Page\Providers\EventServiceProvider::class);
        $this->app->register(\Litecms\Page\Providers\RouteServiceProvider::class);
    }
629903
public function register()
	{
		$configPath = __DIR__.'/../config/theme.php';

		// Merge config to allow user overwrite.
		$this->mergeConfigFrom($configPath, 'theme');

		$app = $this->app;

		// Register providers:
		$this->registerAsset();
		$this->registerTheme();
		$this->registerWidget();
		$this->registerBreadcrumb();
		$this->registerManifest();

		// Register commands:
		$this->registerThemeGenerator();
		$this->registerWidgetGenerator();
		$this->registerThemeList();
		$this->registerThemeDuplicate();
		$this->registerThemeDestroy();

		// Assign commands:
		$this->commands(
						'theme.create',
						'theme.widget',
						'theme.list',
						'theme.duplicate',
						'theme.destroy'
						);

	}