protected final function __construct(Data $data) { // Together the table and id identify a unique row in the database $this->_data = $data; $this->id = $data->id; $this->table = $data->getTable(); $this->database = $data->getDatabase(); }