/** * Make the instance of the object */ public function __construct() { $this->pdo = Connection::connect(); $this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); }