Returns the shared instance of this class.
private static instance ( ) : LogModel | ||
return | LogModel | Returns the instance. |
/** * Returns the shared instance of this class. * * @return LogModel Returns the instance. */ private static function instance() { if (!self::$instance) { self::$instance = new LogModel(); } return self::$instance; }