original_string: public function addData(array $data, $templates = null)
      {
          $this->engine->addData($data, $templates);
  
          return $this->engine;
      }
code: public function addData(array $data, $templates = null)
      {
          $this->engine->addData($data, $templates);
  
          return $this->engine;
      }
code_tokens: public function addData ( array $ data , $ templates = null ) { $ this -> engine -> addData ( $ data , $ templates ) ; return $ this -> engine ; }
docstring: Add data to render.
  
  @param  array  $data      Data
  @param  string $templates Template
  @return League\Plates\Engine
docstring_tokens: Add data to render .