original_string: public function addConditions(array $conditions)
      {
          foreach ($conditions as $condition) {
              call_user_func_array([$this, key($condition)], current($condition));
          }
  
          return $this;
      }
code: public function addConditions(array $conditions)
      {
          foreach ($conditions as $condition) {
              call_user_func_array([$this, key($condition)], current($condition));
          }
  
          return $this;
      }
code_tokens: public function addConditions ( array $ conditions ) { foreach ( $ conditions as $ condition ) { call_user_func_array ( [ $ this , key ( $ condition ) ] , current ( $ condition ) ) ; } return $ this ; }
docstring: Add conditions to grid model.
  
  @param array $conditions
  
  @return $this
docstring_tokens: Add conditions to grid model .