original_string: public function addTick(TickInterface $tick)
      {
          $tick->setManager($this);
          $this->ticks[$tick->getName()] = [
              'tick' => $tick,
              'time' => 0,
          ];
  
          return $this;
      }
code: public function addTick(TickInterface $tick)
      {
          $tick->setManager($this);
          $this->ticks[$tick->getName()] = [
              'tick' => $tick,
              'time' => 0,
          ];
  
          return $this;
      }
code_tokens: public function addTick ( TickInterface $ tick ) { $ tick -> setManager ( $ this ) ; $ this -> ticks [ $ tick -> getName ( ) ] = [ 'tick' => $ tick , 'time' => 0 , ] ; return $ this ; }
docstring: Add tick to loop.
  
  @param TickInterface $tick
  @return $this
docstring_tokens: Add tick to loop .