| Total Complexity | 4 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | class Kirki_Modules_Preset { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The object instance. |
||
| 25 | * |
||
| 26 | * @static |
||
| 27 | * @access private |
||
| 28 | * @since 3.0.26 |
||
| 29 | * @var object |
||
| 30 | */ |
||
| 31 | private static $instance; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Constructor. |
||
| 35 | * |
||
| 36 | * @access protected |
||
| 37 | * @since 3.0.26 |
||
| 38 | */ |
||
| 39 | protected function __construct() { |
||
| 40 | add_action( 'customize_controls_print_footer_scripts', array( $this, 'customize_controls_print_footer_scripts' ) ); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Gets an instance of this object. |
||
| 45 | * Prevents duplicate instances which avoid artefacts and improves performance. |
||
| 46 | * |
||
| 47 | * @static |
||
| 48 | * @access public |
||
| 49 | * @since 3.0.26 |
||
| 50 | * @return object |
||
| 51 | */ |
||
| 52 | public static function get_instance() { |
||
| 57 | } |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Enqueue scripts. |
||
| 61 | * |
||
| 62 | * @access public |
||
| 63 | * @since 3.0.26 |
||
| 64 | */ |
||
| 65 | public function customize_controls_print_footer_scripts() { |
||
| 67 | } |
||
| 68 | } |
||
| 69 |