Documentation

GitCommand
in package

Git command.

Tags
author

Kitamura Satoshi with.no.parachute@gmail.com

Table of Contents

Properties

$executor  : SystemCommandExecutorInterface

Methods

__construct()  : mixed
getBranches()  : array<string|int, mixed>
Return branch names.
getHeadCommit()  : array<string|int, mixed>
Return HEAD commit.
getRemotes()  : array<string|int, mixed>
Return remote repositories.

Properties

$executor

private SystemCommandExecutorInterface $executor

Methods

__construct()

public __construct([SystemCommandExecutorInterface $executor = null ]) : mixed
Parameters
$executor : SystemCommandExecutorInterface = null

getBranches()

Return branch names.

public getBranches() : array<string|int, mixed>
Return values
array<string|int, mixed>

getHeadCommit()

Return HEAD commit.

public getHeadCommit() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRemotes()

Return remote repositories.

public getRemotes() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results