Method | Description | |
---|---|---|
boolean ( $value, array $options = null ) : string | Boolean. | |
datetime ( string $value, string $format = 'Y-m-d H:i:s' ) : formatted | Format the datetime | |
format ( $key, $value, $formats ) : string | Format the value according to the provided formats. | |
isEmpty ( $value, array $options = [] ) : string | Check if a field is empty. | |
string ( $value, $format = null ) : formatted | Format the string response, default is to just return the string. |
public static string ( $value, $format = null ) : formatted | ||
$value | ||
$format | ||
return | formatted | string |