concrete/src/User/UserServiceProvider.php
protected function bindContainer(Application $app)
    {
        $this->app->when(PasswordUsageTracker::class)->needs('$maxReuse')->give(function () {
            return $this->app['config']->get('concrete.user.password.reuse.track', 5);
        });

        $this->app->bindShared('user/registration', function () use ($app) {
            return $app->make('Concrete\Core\User\RegistrationService');
        });
        $this->app->bindShared('user/avatar', function () use ($app) {
            return $app->make('Concrete\Core\User\Avatar\AvatarService');
        });
        $this->app->bindShared('user/status', function () use ($app) {
            return $app->make('Concrete\Core\User\StatusService');
        });
        $this->app->bind('Concrete\Core\User\RegistrationServiceInterface', function () use ($app) {
            return $app->make('user/registration');
        });
        $this->app->bind('Concrete\Core\User\StatusServiceInterface', function () use ($app) {
            return $app->make('user/status');
        });
        $this->app->bind('Concrete\Core\User\Avatar\AvatarServiceInterface', function () use ($app) {
            return $app->make('user/avatar');
        });
    }
protected function bindContainer(Application $app)
    {
        $this->app->when(PasswordUsageTracker::class)->needs('$maxReuse')->give(function () {
            return $this->app['config']->get('concrete.user.password.reuse.track', 5);
        });

        $this->app->bindShared('user/registration', function () use ($app) {
            return $app->make('Concrete\Core\User\RegistrationService');
        });
        $this->app->bindShared('user/avatar', function () use ($app) {
            return $app->make('Concrete\Core\User\Avatar\AvatarService');
        });
        $this->app->bindShared('user/status', function () use ($app) {
            return $app->make('Concrete\Core\User\StatusService');
        });
        $this->app->bind('Concrete\Core\User\RegistrationServiceInterface', function () use ($app) {
            return $app->make('user/registration');
        });
        $this->app->bind('Concrete\Core\User\StatusServiceInterface', function () use ($app) {
            return $app->make('user/status');
        });
        $this->app->bind('Concrete\Core\User\Avatar\AvatarServiceInterface', function () use ($app) {
            return $app->make('user/avatar');
        });
    }
protected function bindContainer ( Application $ app ) { $ this -> app -> when ( PasswordUsageTracker :: class ) -> needs ( '$maxReuse' ) -> give ( function ( ) { return $ this -> app [ 'config' ] -> get ( 'concrete.user.password.reuse.track' , 5 ) ; } ) ; $ this -> app -> bindShared ( 'user/registration' , function ( ) use ( $ app ) { return $ app -> make ( 'Concrete\Core\User\RegistrationService' ) ; } ) ; $ this -> app -> bindShared ( 'user/avatar' , function ( ) use ( $ app ) { return $ app -> make ( 'Concrete\Core\User\Avatar\AvatarService' ) ; } ) ; $ this -> app -> bindShared ( 'user/status' , function ( ) use ( $ app ) { return $ app -> make ( 'Concrete\Core\User\StatusService' ) ; } ) ; $ this -> app -> bind ( 'Concrete\Core\User\RegistrationServiceInterface' , function ( ) use ( $ app ) { return $ app -> make ( 'user/registration' ) ; } ) ; $ this -> app -> bind ( 'Concrete\Core\User\StatusServiceInterface' , function ( ) use ( $ app ) { return $ app -> make ( 'user/status' ) ; } ) ; $ this -> app -> bind ( 'Concrete\Core\User\Avatar\AvatarServiceInterface' , function ( ) use ( $ app ) { return $ app -> make ( 'user/avatar' ) ; } ) ; }
Bind things to the container

@param \Concrete\Core\Application\Application $app
Bind things to the container