PHP Class TQ\Git\StreamWrapper\StreamWrapper

Exibir arquivo 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