PHP Class TQ\Svn\StreamWrapper\PathFactory

Inheritance: extends TQ\Vcs\StreamWrapper\AbstractPathFactory
Afficher le fichier Open project: teqneers/php-stream-wrapper-for-git

Protected Properties

Свойство Type Description
$svn TQ\Svn\Cli\Binary The SVN binary

Méthodes publiques

Méthode Description
__construct ( string $protocol, Binary | string | null $svn = null, RepositoryRegistry $map = null ) Creates a path factory

Méthodes protégées

Méthode Description
createRepositoryForPath ( string $path ) : TQ\Vcs\Repository\RepositoryInterface Creates a new Repository instance for the given path

Method Details

__construct() public méthode

Creates a path factory
public __construct ( string $protocol, Binary | string | null $svn = null, RepositoryRegistry $map = null )
$protocol string The protocol (such as "svn")
$svn TQ\Svn\Cli\Binary | string | null The SVN binary
$map TQ\Vcs\StreamWrapper\RepositoryRegistry The repository registry

createRepositoryForPath() protected méthode

Creates a new Repository instance for the given path
protected createRepositoryForPath ( string $path ) : TQ\Vcs\Repository\RepositoryInterface
$path string The path
Résultat TQ\Vcs\Repository\RepositoryInterface

Property Details

$svn protected_oe property

The SVN binary
protected Binary,TQ\Svn\Cli $svn
Résultat TQ\Svn\Cli\Binary