/** * Main Instance * * @staticvar array $instance * @return The one true instance */ public static function instance() { if (!isset(self::$instance)) { self::$instance = new self(); self::$instance->init(); } return self::$instance; }
/** * Main Instance * * @staticvar array $instance * @return The one true instance */ public static function instance() { if (!isset(self::$instance)) { self::$instance = new self(); self::$instance->actions(); self::$instance->filters(); } return self::$instance; }