public function __construct(Database $db = null, string $component = 'continuum') { if (!$db) { $db = \Airship\get_database(); } $this->db = $db; $this->component = $component; }