feat: change class properties from private to protected

This commit is contained in:
Victor Westerlund 2024-12-20 11:56:18 +01:00
parent 619f43b3bf
commit e7c0556f62

View file

@ -14,15 +14,13 @@
// Interface for MySQL_Driver with abstractions for data manipulation
class MySQL extends mysqli {
private string $table;
private ?string $limit = null;
private ?string $order_by = null;
private array $filter_values = [];
private ?string $filter_sql = null;
// Array of last SELECT-ed columns
public ?array $columns = null;
protected string $table;
protected ?string $limit = null;
protected ?string $order_by = null;
protected array $filter_values = [];
protected ?string $filter_sql = null;
// Pass constructor arguments to driver
function __construct() {