mirror of
https://github.com/Karaka-Management/oms-Monitoring.git
synced 2026-01-26 15:28:41 +00:00
Force public member variables or mapper changes
This commit is contained in:
parent
4d57dcc68a
commit
c4379179d5
|
|
@ -111,6 +111,12 @@
|
|||
"name": "monitoring_request_datetime",
|
||||
"type": "DATETIME",
|
||||
"null": false
|
||||
},
|
||||
"monitoring_request_end": {
|
||||
"name": "monitoring_request_end",
|
||||
"type": "DATETIME",
|
||||
"null": true,
|
||||
"default": null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ class Controller extends ModuleAbstract
|
|||
}
|
||||
|
||||
$stat = new ImpressionStat($request);
|
||||
$stat->end = new \DateTime('now');
|
||||
|
||||
// This is not run through the createModel() function on purpose
|
||||
ImpressionStatMapper::create()->execute($stat);
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ final class ImpressionStatMapper extends DataMapperFactory
|
|||
'monitoring_request_referer' => ['name' => 'monitoring_request_referer', 'type' => 'string', 'internal' => 'referer',],
|
||||
'monitoring_request_agent' => ['name' => 'monitoring_request_agent', 'type' => 'string', 'internal' => 'userAgent',],
|
||||
'monitoring_request_datetime' => ['name' => 'monitoring_request_datetime', 'type' => 'DateTime', 'internal' => 'datetime',],
|
||||
'monitoring_request_end' => ['name' => 'monitoring_request_end', 'type' => 'DateTime', 'internal' => 'end',],
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user