original_string: public function postSubscribe()
      {
          $email = Binput::get('email');
          $subscriptions = Binput::get('subscriptions');
          $verified = app(Repository::class)->get('setting.skip_subscriber_verification');
  
          try {
              $subscription = execute(new SubscribeSubscriberCommand($email, $verified));
          } catch (ValidationException $e) {
              return cachet_redirect('status-page')
                  ->withInput(Binput::all())
                  ->withTitle(sprintf('%s %s', trans('dashboard.notifications.whoops'), trans('cachet.subscriber.email.failure')))
                  ->withErrors($e->getMessageBag());
          }
  
          if ($subscription->is_verified) {
              return cachet_redirect('status-page')->withSuccess(trans('cachet.subscriber.email.already-subscribed', ['email' => $email]));
          }
  
          return cachet_redirect('subscribe.manage', $subscription->verify_code)
              ->withSuccess(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('cachet.subscriber.email.subscribed')));
      }
code: public function postSubscribe()
      {
          $email = Binput::get('email');
          $subscriptions = Binput::get('subscriptions');
          $verified = app(Repository::class)->get('setting.skip_subscriber_verification');
  
          try {
              $subscription = execute(new SubscribeSubscriberCommand($email, $verified));
          } catch (ValidationException $e) {
              return cachet_redirect('status-page')
                  ->withInput(Binput::all())
                  ->withTitle(sprintf('%s %s', trans('dashboard.notifications.whoops'), trans('cachet.subscriber.email.failure')))
                  ->withErrors($e->getMessageBag());
          }
  
          if ($subscription->is_verified) {
              return cachet_redirect('status-page')->withSuccess(trans('cachet.subscriber.email.already-subscribed', ['email' => $email]));
          }
  
          return cachet_redirect('subscribe.manage', $subscription->verify_code)
              ->withSuccess(sprintf('%s %s', trans('dashboard.notifications.awesome'), trans('cachet.subscriber.email.subscribed')));
      }
code_tokens: public function postSubscribe ( ) { $ email = Binput :: get ( 'email' ) ; $ subscriptions = Binput :: get ( 'subscriptions' ) ; $ verified = app ( Repository :: class ) -> get ( 'setting.skip_subscriber_verification' ) ; try { $ subscription = execute ( new SubscribeSubscriberCommand ( $ email , $ verified ) ) ; } catch ( ValidationException $ e ) { return cachet_redirect ( 'status-page' ) -> withInput ( Binput :: all ( ) ) -> withTitle ( sprintf ( '%s %s' , trans ( 'dashboard.notifications.whoops' ) , trans ( 'cachet.subscriber.email.failure' ) ) ) -> withErrors ( $ e -> getMessageBag ( ) ) ; } if ( $ subscription -> is_verified ) { return cachet_redirect ( 'status-page' ) -> withSuccess ( trans ( 'cachet.subscriber.email.already-subscribed' , [ 'email' => $ email ] ) ) ; } return cachet_redirect ( 'subscribe.manage' , $ subscription -> verify_code ) -> withSuccess ( sprintf ( '%s %s' , trans ( 'dashboard.notifications.awesome' ) , trans ( 'cachet.subscriber.email.subscribed' ) ) ) ; }
docstring: Handle the subscribe user.
  
  @return \Illuminate\View\View
docstring_tokens: Handle the subscribe user .