Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
TQ
Git
StreamWrapper
StreamWrapper
PHP Class TQ\Git\StreamWrapper\StreamWrapper
Mostra file
Open project: teqneers/php-stream-wrapper-for-git
Class Usage Examples
Public Methods
Method
Description
register
(
string
$protocol
,
Binary |
string
|
null
| TQ\Vcs\StreamWrapper\PathFactoryInterface
$binary
= null )
Registers the stream wrapper with the given protocol
Method Details
register()
public
static
method
Registers the stream wrapper with the given protocol
public
static
register
(
string
$protocol
,
Binary |
string
|
null
| TQ\Vcs\StreamWrapper\PathFactoryInterface
$binary
= null )
$protocol
string
The protocol (such as "git")
$binary
TQ\Git\Cli\Binary |
string
|
null
| TQ\Vcs\StreamWrapper\PathFactoryInterface
The Git binary or a path factory