public function __construct($command = '', $db = null) { $this->command = $command; $this->db = $db !== null ? $db : SDB::get_current(); }