PHP Class TQ\Svn\StreamWrapper\PathFactory

Inheritance: extends TQ\Vcs\StreamWrapper\AbstractPathFactory
Datei anzeigen Open project: teqneers/php-stream-wrapper-for-git

Protected Properties

Property Type Description
$svn TQ\Svn\Cli\Binary The SVN binary

Public Methods

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

Protected Methods

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

Method Details

__construct() public method

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 method

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

Property Details

$svn protected_oe property

The SVN binary
protected Binary,TQ\Svn\Cli $svn
return TQ\Svn\Cli\Binary