return lang($line,
$params);
} /**
* Wrap helper function to use as view plugin.
*/
public static function ValidationErrors(array
$params =
[]): string
{ $validator = Services::
validation();
if (empty($params)) { return $validator->
listErrors();
} return $validator->
showError($params['field'
]);
} /**
* Wrap helper function to use as view plugin.
*
* @return false|string
*/
public static function route(array
$params =
[]) {