PluginProbe
Elementor Website Builder – more than just a page builder / 3.4.0-dev9
Elementor Website Builder – more than just a page builder v3.4.0-dev9
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.4.0-dev9, at core/logger/items/log-item-interface.php

74 lines 1.2 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
23 interface Log_Item_Interface extends \JsonSerializable {
24
25 const MAX_LOG_ENTRIES = 42;
26
27 /**
28 * Log_Item_Interface constructor.
29 *
30 * @param array $args
31 */
32 public function __construct( $args );
33
34 /**
35 * @param string $name
36 *
37 * @return string
38 */
39 public function __get( $name );
40
41 /**
42 * @return string
43 */
44 public function __toString();
45
46 /**
47 * @param $str
48 * @return Log_Item_Interface | null
49 */
50 public static function from_json( $str );
51
52 /**
53 * @param string $format
54 * @return string
55 */
56 public function format( $format = 'html' );
57
58 /**
59 * @return string
60 */
61 public function get_fingerprint();
62
63 /**
64 * @param Log_Item_Interface $item
65 * @param bool $truncate
66 */
67 public function increase_times( $item, $truncate = true );
68
69 /**
70 * @return string
71 */
72 public function get_name();
73 }
74