PHP Class think\process\Utils

显示文件 Open project: top-think/framework Class Usage Examples

Public Methods

Method Description
escapeArgument ( string $argument ) : string 转义字符串
validateInput ( string $caller, mixed $input ) : string 验证并进行规范化Process输入。

Private Methods

Method Description
isSurroundedBy ( $arg, $char )

Method Details

escapeArgument() public static method

转义字符串
public static escapeArgument ( string $argument ) : string
$argument string
return string

validateInput() public static method

验证并进行规范化Process输入。
public static validateInput ( string $caller, mixed $input ) : string
$caller string
$input mixed
return string