\AlibabaCloudClient

Namespaces

Clients
Config
Credentials
Exception
Filter
Log
Profile
Regions
Request
Resolver
Result
Signature
Support
Traits

Classes

Accept Class Accept
AlibabaCloud Class AlibabaCloud
DefaultAcsClient Class DefaultAcsClient
Encode Class Encode
Release Class Release
SDK Class SDK

Functions

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

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

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

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

block()

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

Parameters

mixed $result
string $title

cliMate()

cliMate() : \League\CLImate\CLImate

Returns

\League\CLImate\CLImate

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

inDir()

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

Parameters

string $filename
array $dirs

Returns

boolean

inOpenBasedir()

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

Parameters

$filename
boolean $throwException

Throws

\AlibabaCloud\Client\Exception\ClientException

Returns

boolean

isWindows()

isWindows() : boolean

Returns

boolean

json()

json(array  $array) 

Parameters

array $array

redTable()

redTable(array  $array) : void

Parameters

array $array

value()

value(mixed  $value) : mixed

Return the default value of the given value.

Parameters

mixed $value

Returns

mixed