PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | inc/cache/class-lp-question-cache.php +38 -38 4.3.9.14.4.8 View file →
@@ -1,38 +1,38 @@
1 -<?php
2 -
3 -/**
4 - * Class LP_Quiz_Cache
5 - *
6 - * @author tungnx
7 - * @since 4.2.0
8 - * @version 1.0.0
9 - */
10 -defined( 'ABSPATH' ) || exit();
11 -
12 -class LP_Question_Cache extends LP_Cache {
13 - /**
14 - * @var null|LP_Question_Cache
15 - */
16 - protected static $instance;
17 - /**
18 - * @var string
19 - */
20 - protected $key_group_child = 'question';
21 -
22 - /**
23 - * Get instance
24 - *
25 - * @return self
26 - */
27 - public static function instance(): self {
28 - if ( is_null( self::$instance ) ) {
29 - self::$instance = new self();
30 - }
31 -
32 - return self::$instance;
33 - }
34 -
35 - public function __construct() {
36 - parent::__construct();
37 - }
38 -}
1 +<?php
2 +
3 +/**
4 + * Class LP_Quiz_Cache
5 + *
6 + * @author tungnx
7 + * @since 4.2.0
8 + * @version 1.0.0
9 + */
10 +defined( 'ABSPATH' ) || exit();
11 +
12 +class LP_Question_Cache extends LP_Cache {
13 + /**
14 + * @var null|LP_Question_Cache
15 + */
16 + protected static $instance;
17 + /**
18 + * @var string
19 + */
20 + protected $key_group_child = 'question';
21 +
22 + /**
23 + * Get instance
24 + *
25 + * @return self
26 + */
27 + public static function instance(): self {
28 + if ( is_null( self::$instance ) ) {
29 + self::$instance = new self();
30 + }
31 +
32 + return self::$instance;
33 + }
34 +
35 + public function __construct() {
36 + parent::__construct();
37 + }
38 +}