Skip to content

Commit

Permalink
Comments in en/App/Models/Product
Browse files Browse the repository at this point in the history
  • Loading branch information
ribafs committed Oct 8, 2022
1 parent 496b90e commit 9a463dc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions en/App/Models/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class Product
public function __construct($table)
{
$this->table = $table;

// Starting database connection with Singleton
try {
$pdo = Connection::getInstance();
$this->pdo = $pdo;
Expand Down

0 comments on commit 9a463dc

Please sign in to comment.