original_string: public function finder($finder = null)
      {
          deprecationWarning(
              get_called_class() . '::finder() is deprecated. ' .
              'Use setFinder()/getFinder() instead.'
          );
          if ($finder !== null) {
              $this->setFinder($finder);
          }
  
          return $this->getFinder();
      }
code: public function finder($finder = null)
      {
          deprecationWarning(
              get_called_class() . '::finder() is deprecated. ' .
              'Use setFinder()/getFinder() instead.'
          );
          if ($finder !== null) {
              $this->setFinder($finder);
          }
  
          return $this->getFinder();
      }
code_tokens: public function finder ( $ finder = null ) { deprecationWarning ( get_called_class ( ) . '::finder() is deprecated. ' . 'Use setFinder()/getFinder() instead.' ) ; if ( $ finder !== null ) { $ this -> setFinder ( $ finder ) ; } return $ this -> getFinder ( ) ; }
docstring: Sets the default finder to use for fetching rows from the target table.
  If no parameters are passed, it will return the currently configured
  finder name.
  
  @deprecated 3.4.0 Use setFinder()/getFinder() instead.
  @param string|null $finder the finder name to use
  @return string|array
docstring_tokens: Sets the default finder to use for fetching rows from the target table . If no parameters are passed it will return the currently configured finder name .