protected function repositoryNameExists($interface)
    {
        if($this->files->exists($this->getRepositoryDirectory() . $this->getDirOption() . $interface . 'php')) {
            return true;
        }

        return false;
    }
protected function repositoryNameExists($interface)
    {
        if($this->files->exists($this->getRepositoryDirectory() . $this->getDirOption() . $interface . 'php')) {
            return true;
        }

        return false;
    }
protected function repositoryNameExists ( $ interface ) { if ( $ this -> files -> exists ( $ this -> getRepositoryDirectory ( ) . $ this -> getDirOption ( ) . $ interface . 'php' ) ) { return true ; } return false ; }
Validate if repository interface already exists

@param  string $interface
@return bool
Validate if repository interface already exists