original_string: public function stop()
      {
          if (!$this->openSlots) {
              throw new \LogicException('No slot started.');
          }
  
          $name = array_pop($this->openSlots);
  
          $this->slots[$name] = ob_get_clean();
      }
code: public function stop()
      {
          if (!$this->openSlots) {
              throw new \LogicException('No slot started.');
          }
  
          $name = array_pop($this->openSlots);
  
          $this->slots[$name] = ob_get_clean();
      }
code_tokens: public function stop ( ) { if ( ! $ this -> openSlots ) { throw new \ LogicException ( 'No slot started.' ) ; } $ name = array_pop ( $ this -> openSlots ) ; $ this -> slots [ $ name ] = ob_get_clean ( ) ; }
docstring: Stops a slot.
  
  @throws \LogicException if no slot has been started
docstring_tokens: Stops a slot .