original_string: public function execute($toArray = true)
      {
          $conditions = array_merge(
              $this->conditions(),
              $this->scopeConditions()
          );
  
          return $this->model->addConditions($conditions)->buildData($toArray);
      }
code: public function execute($toArray = true)
      {
          $conditions = array_merge(
              $this->conditions(),
              $this->scopeConditions()
          );
  
          return $this->model->addConditions($conditions)->buildData($toArray);
      }
code_tokens: public function execute ( $ toArray = true ) { $ conditions = array_merge ( $ this -> conditions ( ) , $ this -> scopeConditions ( ) ) ; return $ this -> model -> addConditions ( $ conditions ) -> buildData ( $ toArray ) ; }
docstring: Execute the filter with conditions.
  
  @param bool $toArray
  
  @return array|Collection|mixed
docstring_tokens: Execute the filter with conditions .