| 1 |
<?php |
| 2 |
/** |
| 3 |
* Paged collection of email log entries. |
| 4 |
* |
| 5 |
* @version 1.0.0 |
| 6 |
*/ |
| 7 |
|
| 8 |
namespace StoreEngine\Classes; |
| 9 |
|
| 10 |
if ( ! defined( 'ABSPATH' ) ) { |
| 11 |
exit; |
| 12 |
} |
| 13 |
|
| 14 |
/** |
| 15 |
* @method int|EmailLog next_result() |
| 16 |
* @method array<EmailLog|int> get_results() |
| 17 |
*/ |
| 18 |
class EmailLogCollection extends AbstractCollection { |
| 19 |
protected string $primary_key = 'id'; |
| 20 |
|
| 21 |
protected string $table = 'storeengine_email_log'; |
| 22 |
|
| 23 |
protected string $object_type = 'email_log'; |
| 24 |
|
| 25 |
protected string $returnType = EmailLog::class; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase |
| 26 |
} |
| 27 |
|