PluginProbe
Elementor Website Builder – more than just a page builder / 3.35.9
Elementor Website Builder – more than just a page builder v3.35.9
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
elementor / core / logger / items / log-item-interface.php

log-item-interface.php in Elementor Website Builder – more than just a page builder 3.35.9, at core/logger/items/log-item-interface.php

69 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Elementor\Core\Logger\Items;
3
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit; // Exit if accessed directly.
6 }
7
8 /**
9 * Interface Log_Item_Interface
10 *
11 * @package Elementor\Core\Logger
12 *
13 * @property string $date
14 * @property string $type
15 * @property string $message
16 * @property int $times
17 * @property array $meta
18 * @property array $times_dates
19 * @property array $args
20 */
21
22 interface Log_Item_Interface extends \JsonSerializable {
23
24 const MAX_LOG_ENTRIES = 42;
25
26 /**
27 * Log_Item_Interface constructor.
28 *
29 * @param array $args
30 */
31 public function __construct( $args );
32
33 /**
34 * @param string $name
35 *
36 * @return string
37 */
38 public function __get( $name );
39
40 /**
41 * @return string
42 */
43 public function __toString();
44
45 public static function from_json( $str );
46
47 /**
48 * @param string $format
49 * @return string
50 */
51 public function format( $format = 'html' );
52
53 /**
54 * @return string
55 */
56 public function get_fingerprint();
57
58 /**
59 * @param Log_Item_Interface $item
60 * @param bool $truncate
61 */
62 public function increase_times( $item, $truncate = true );
63
64 /**
65 * @return string
66 */
67 public function get_name();
68 }
69