original_string: protected function createInterfaceFile($interface)
      {
          $dir_option = rtrim(str_replace('/', '\\', $this->getDirOption()), '/\\');
          $dir_option = $dir_option ? '\\' . $dir_option : '';
          $interface = $this->configureName('repository', $interface);
          dd($interface);
  
          $stub = str_replace(
              ['{{Namespace}}', '{{BaseInterfaceDirectory}}', '{{InterfaceClassName}}'],
              [$this->getRepositoryDirectoryFromConfig() . $dir_option, $this->getRepositoryDirectoryFromConfig(), $interface],
              $this->files->get(__DIR__ . '/../stubs/interface.stub')
          );
  
          $this->files->put(base_path() . '/' . $this->getRepositoryDirectory() . $this->getDirOption() . $interface . '.php', $stub);
      }
code: protected function createInterfaceFile($interface)
      {
          $dir_option = rtrim(str_replace('/', '\\', $this->getDirOption()), '/\\');
          $dir_option = $dir_option ? '\\' . $dir_option : '';
          $interface = $this->configureName('repository', $interface);
          dd($interface);
  
          $stub = str_replace(
              ['{{Namespace}}', '{{BaseInterfaceDirectory}}', '{{InterfaceClassName}}'],
              [$this->getRepositoryDirectoryFromConfig() . $dir_option, $this->getRepositoryDirectoryFromConfig(), $interface],
              $this->files->get(__DIR__ . '/../stubs/interface.stub')
          );
  
          $this->files->put(base_path() . '/' . $this->getRepositoryDirectory() . $this->getDirOption() . $interface . '.php', $stub);
      }
code_tokens: protected function createInterfaceFile ( $ interface ) { $ dir_option = rtrim ( str_replace ( '/' , '\\' , $ this -> getDirOption ( ) ) , '/\\' ) ; $ dir_option = $ dir_option ? '\\' . $ dir_option : '' ; $ interface = $ this -> configureName ( 'repository' , $ interface ) ; dd ( $ interface ) ; $ stub = str_replace ( [ '{{Namespace}}' , '{{BaseInterfaceDirectory}}' , '{{InterfaceClassName}}' ] , [ $ this -> getRepositoryDirectoryFromConfig ( ) . $ dir_option , $ this -> getRepositoryDirectoryFromConfig ( ) , $ interface ] , $ this -> files -> get ( __DIR__ . '/../stubs/interface.stub' ) ) ; $ this -> files -> put ( base_path ( ) . '/' . $ this -> getRepositoryDirectory ( ) . $ this -> getDirOption ( ) . $ interface . '.php' , $ stub ) ; }
docstring: Create the interface file
  
  @param  string $interface
  @return void
docstring_tokens: Create the interface file