public static function instance() { if (self::$instance === null) { self::$instance = new CategoryModel(); } return self::$instance; }
/** * The shared instance of this object. * * @return CategoryModel Returns the instance. */ public static function instance() { if (self::$instance === null) { self::$instance = new CategoryModel(); } return self::$instance; }