Function __global->git_repos
Definitions
config_editor.php
- Find the Git branch name. This is useful for making this config file context-adaptive (i.e. dev settings vs production settings).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Returns
- Branch name (null: not in Git)
- Type: ?ID_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the Git branch name. This is useful for making this config file context-adaptive (i.e. dev settings vs production settings).
*
* @return ?ID_TEXT Branch name (null: not in Git)
*/
function git_repos() : ?string
* Find the Git branch name. This is useful for making this config file context-adaptive (i.e. dev settings vs production settings).
*
* @return ?ID_TEXT Branch name (null: not in Git)
*/
function git_repos() : ?string
sources/global2.php
- Find the Git branch name. This is useful for making this config file context-adaptive (i.e. dev settings vs production settings).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Returns
- Branch name (null: not in Git)
- Type: ?ID_TEXT
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find the Git branch name. This is useful for making this config file context-adaptive (i.e. dev settings vs production settings).
*
* @return ?ID_TEXT Branch name (null: not in Git)
*/
function git_repos() : ?string
* Find the Git branch name. This is useful for making this config file context-adaptive (i.e. dev settings vs production settings).
*
* @return ?ID_TEXT Branch name (null: not in Git)
*/
function git_repos() : ?string
