What are double colons :: in a shell script?

The :: is just a Naming Convention for function names. Is a coding-style such as snake_case or CamelCase

The convention for Function names in shell style commonly is:

Lower-case, with underscores to separate words. Separate libraries
with ::. Parentheses are required after the function name. The keyword
function is optional, but must be used consistently throughout a
project.

You can check here.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)