original_string: protected function getPath($file = null)
      {
          $path = Configure::readOrFail('Thumber.target');
  
          return $file ? $path . DS . $file : $path;
      }
code: protected function getPath($file = null)
      {
          $path = Configure::readOrFail('Thumber.target');
  
          return $file ? $path . DS . $file : $path;
      }
code_tokens: protected function getPath ( $ file = null ) { $ path = Configure :: readOrFail ( 'Thumber.target' ) ; return $ file ? $ path . DS . $ file : $ path ; }
docstring: Gets a path for a thumbnail.
  
  Called with the `$file` argument, returns the file absolute path.
  Otherwise, called with `null`, returns the path of the target directory.
  @param string|null $file File
  @return string
docstring_tokens: Gets a path for a thumbnail .