- ⌂ comand
- Configurations
- Methods
- Static Methods
comand::get()
Return a comand singleton. That is, create and return an instance of the comand class. However, if an instance has already been created and returned, just return the one initially created.
Prototype
comand get()
Return
A comand singleton.
Example
$comand = comand::get();
$repo = $comand->connect();
if(!$repo) {
comand::log_notice("Could not connect.");
}