vendor/alibabacloud/client/srcFunctions.php

Functions

inOpenBasedir()

inOpenBasedir(  $filename, boolean  $throwException = false) : boolean

Parameters

$filename
boolean $throwException

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

boolean

inDir()

inDir(string  $filename, array  $dirs) : boolean

Parameters

string $filename
array $dirs

Returns

boolean

isWindows()

isWindows() : boolean

Returns

boolean

cliMate()

cliMate() : \League\CLImate\CLImate

Returns

\League\CLImate\CLImate

backgroundRed()

backgroundRed(string  $string, string|null  $flank = null, string|null  $char = null, integer|null  $length = null) : void

Parameters

string $string
string|null $flank
string|null $char
integer|null $length

backgroundGreen()

backgroundGreen(string  $string, string|null  $flank = null, string|null  $char = null, integer|null  $length = null) : void

Parameters

string $string
string|null $flank
string|null $char
integer|null $length

backgroundBlue()

backgroundBlue(string  $string, string|null  $flank = null, string|null  $char = null, integer|null  $length = null) : void

Parameters

string $string
string|null $flank
string|null $char
integer|null $length

backgroundMagenta()

backgroundMagenta(string  $string, string|null  $flank = null, string|null  $char = null, integer|null  $length = null) : void

Parameters

string $string
string|null $flank
string|null $char
integer|null $length

json()

json(array  $array) 

Parameters

array $array

redTable()

redTable(array  $array) : void

Parameters

array $array

block()

block(mixed  $result, string  $title) : void

Parameters

mixed $result
string $title

env()

env(string  $key, mixed  $default = null) : mixed

Gets the value of an environment variable.

Parameters

string $key
mixed $default

Returns

mixed

envConversion()

envConversion(  $value) : boolean|string|null

Parameters

$value

Returns

boolean|string|null

envNotEmpty()

envNotEmpty(  $key) : boolean|mixed

Parameters

$key

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

boolean|mixed

envSubstr()

envSubstr(  $value) : boolean

Parameters

$value

Returns

boolean

value()

value(mixed  $value) : mixed

Return the default value of the given value.

Parameters

mixed $value

Returns

mixed