original_string: public function run(Request $request)
      {
          if (! $this->getSnapshot() instanceof Container) {
              throw new SandboxException('Sandbox is not enabled.');
          }
  
          $shouldUseOb = $this->config->get('swoole_http.ob_output', true);
  
          if ($shouldUseOb) {
              return $this->prepareObResponse($request);
          }
  
          return $this->prepareResponse($request);
      }
code: public function run(Request $request)
      {
          if (! $this->getSnapshot() instanceof Container) {
              throw new SandboxException('Sandbox is not enabled.');
          }
  
          $shouldUseOb = $this->config->get('swoole_http.ob_output', true);
  
          if ($shouldUseOb) {
              return $this->prepareObResponse($request);
          }
  
          return $this->prepareResponse($request);
      }
code_tokens: public function run ( Request $ request ) { if ( ! $ this -> getSnapshot ( ) instanceof Container ) { throw new SandboxException ( 'Sandbox is not enabled.' ) ; } $ shouldUseOb = $ this -> config -> get ( 'swoole_http.ob_output' , true ) ; if ( $ shouldUseOb ) { return $ this -> prepareObResponse ( $ request ) ; } return $ this -> prepareResponse ( $ request ) ; }
docstring: Run framework.
  
  @param \Illuminate\Http\Request $request
  
  @return \Illuminate\Http\Response
  @throws \SwooleTW\Http\Exceptions\SandboxException
  @throws \ReflectionException
docstring_tokens: Run framework .