original_string: public function run(): bool
      {
          if ($this->startup) {
              $this->logger->debug('Calling startup callback');
              call_user_func($this->startup, $this);
          }
  
          $actions = implode(', ', array_keys($this->callbacks));
          $this->logger->info("Component running with callbacks for $actions");
          $this->executor->execute(
              $this->apiFactory,
              $this->input,
              $this->callbacks,
              $this->error
          );
  
          if ($this->shutdown) {
              $this->logger->debug('Calling shutdown callback');
              call_user_func($this->shutdown, $this);
          }
  
          return true;
      }
code: public function run(): bool
      {
          if ($this->startup) {
              $this->logger->debug('Calling startup callback');
              call_user_func($this->startup, $this);
          }
  
          $actions = implode(', ', array_keys($this->callbacks));
          $this->logger->info("Component running with callbacks for $actions");
          $this->executor->execute(
              $this->apiFactory,
              $this->input,
              $this->callbacks,
              $this->error
          );
  
          if ($this->shutdown) {
              $this->logger->debug('Calling shutdown callback');
              call_user_func($this->shutdown, $this);
          }
  
          return true;
      }
code_tokens: public function run ( ) : bool { if ( $ this -> startup ) { $ this -> logger -> debug ( 'Calling startup callback' ) ; call_user_func ( $ this -> startup , $ this ) ; } $ actions = implode ( ', ' , array_keys ( $ this -> callbacks ) ) ; $ this -> logger -> info ( "Component running with callbacks for $actions" ) ; $ this -> executor -> execute ( $ this -> apiFactory , $ this -> input , $ this -> callbacks , $ this -> error ) ; if ( $ this -> shutdown ) { $ this -> logger -> debug ( 'Calling shutdown callback' ) ; call_user_func ( $ this -> shutdown , $ this ) ; } return true ; }
docstring: Run the SDK.
  
  @return bool
docstring_tokens: Run the SDK .