misuzu/src/Messages/MessagesContext.php

16 lines
344 B
PHP
Raw Normal View History

2024-01-30 23:47:02 +00:00
<?php
namespace Misuzu\Messages;
use Index\Data\IDbConnection;
class MessagesContext {
private MessagesDatabase $database;
public function __construct(IDbConnection $dbConn) {
$this->database = new MessagesDatabase($dbConn);
}
public function getDatabase(): MessagesDatabase {
return $this->database;
}
}