| 1 |
<?php |
| 2 |
namespace StoreEngine\Classes; |
| 3 |
|
| 4 |
if ( ! defined( 'ABSPATH' ) ) { |
| 5 |
exit; |
| 6 |
} |
| 7 |
|
| 8 |
/** |
| 9 |
* @method array<LogItem> get_results() |
| 10 |
* @method LogItem next_result() |
| 11 |
*/ |
| 12 |
class LogItemCollection extends AbstractCollection { |
| 13 |
protected string $table = 'storeengine_logs'; |
| 14 |
protected string $object_type = 'log'; |
| 15 |
protected string $primary_key = 'id'; |
| 16 |
protected string $returnType = LogItem::class; |
| 17 |
|
| 18 |
} |
| 19 |
|