original_string: private function _searchInControllerDir($base_dir, $file_name)
      {
          $dirs = $this->application->getControllerDirectories();
          foreach ($dirs as $dir) {
              $filter = $this->finder->path($dir . $base_dir)->name($file_name)->find()->first();
              if ($filter) return $filter;
          }
      }
code: private function _searchInControllerDir($base_dir, $file_name)
      {
          $dirs = $this->application->getControllerDirectories();
          foreach ($dirs as $dir) {
              $filter = $this->finder->path($dir . $base_dir)->name($file_name)->find()->first();
              if ($filter) return $filter;
          }
      }
code_tokens: private function _searchInControllerDir ( $ base_dir , $ file_name ) { $ dirs = $ this -> application -> getControllerDirectories ( ) ; foreach ( $ dirs as $ dir ) { $ filter = $ this -> finder -> path ( $ dir . $ base_dir ) -> name ( $ file_name ) -> find ( ) -> first ( ) ; if ( $ filter ) return $ filter ; } }
docstring: search in controller dirs
  
  @param   string  $base_dir
  @param   string  $file_name
  @return  Samurai\Samurai\Component\FileSystem\Finder\Iterator\Iterator
docstring_tokens: search in controller dirs