protected function createBaseInterfaceFile()
    {
        if( ! $this->files->exists($this->getRepositoryDirectory() . 'BaseRepositoryInterface.php')) {
            $stub = str_replace(
                ['{{Namespace}}'],
                $this->getRepositoryDirectoryFromConfig(),
                $this->files->get(__DIR__ . '/../stubs/base-interface.stub')
            );

            $this->files->put(base_path() . '/' . $this->getRepositoryDirectory() . 'BaseRepositoryInterface.php', $stub);
        }
    }
protected function createBaseInterfaceFile()
    {
        if( ! $this->files->exists($this->getRepositoryDirectory() . 'BaseRepositoryInterface.php')) {
            $stub = str_replace(
                ['{{Namespace}}'],
                $this->getRepositoryDirectoryFromConfig(),
                $this->files->get(__DIR__ . '/../stubs/base-interface.stub')
            );

            $this->files->put(base_path() . '/' . $this->getRepositoryDirectory() . 'BaseRepositoryInterface.php', $stub);
        }
    }
protected function createBaseInterfaceFile ( ) { if ( ! $ this -> files -> exists ( $ this -> getRepositoryDirectory ( ) . 'BaseRepositoryInterface.php' ) ) { $ stub = str_replace ( [ '{{Namespace}}' ] , $ this -> getRepositoryDirectoryFromConfig ( ) , $ this -> files -> get ( __DIR__ . '/../stubs/base-interface.stub' ) ) ; $ this -> files -> put ( base_path ( ) . '/' . $ this -> getRepositoryDirectory ( ) . 'BaseRepositoryInterface.php' , $ stub ) ; } }
Create base interface file

@return void
Create base interface file