public function Reports::__construct in Ubercart 8.4
Constructs a Reports object.
Parameters
\Drupal\Core\Database\Connection $database: A database connection.
File
- uc_report/
src/ Controller/ Reports.php, line 46
Class
- Reports
- Provides reports for Ubercart.
Namespace
Drupal\uc_report\ControllerCode
public function __construct(Connection $database) {
$this->database = $database;
}