original_string: public function register()
      {
          $container = $this->container;
          $console = new Console('EncorePHP', $container::VERSION);
  
          $this->container->bind('console', $console);
  
          if ($this->container->bound('error')) {
              $this->container['error']->setDisplayer(new ConsoleDisplayer($console));
          }
      }
code: public function register()
      {
          $container = $this->container;
          $console = new Console('EncorePHP', $container::VERSION);
  
          $this->container->bind('console', $console);
  
          if ($this->container->bound('error')) {
              $this->container['error']->setDisplayer(new ConsoleDisplayer($console));
          }
      }
code_tokens: public function register ( ) { $ container = $ this -> container ; $ console = new Console ( 'EncorePHP' , $ container :: VERSION ) ; $ this -> container -> bind ( 'console' , $ console ) ; if ( $ this -> container -> bound ( 'error' ) ) { $ this -> container [ 'error' ] -> setDisplayer ( new ConsoleDisplayer ( $ console ) ) ; } }
docstring: Register the console into the container.
  
  @return void
docstring_tokens: Register the console into the container .