public function UserModuleStatus::getFinishedTime in Opigno module 3.x
Get the User module status finished timestamp.
Return value
int The User module status finished timestamp.
Overrides UserModuleStatusInterface::getFinishedTime
1 call to UserModuleStatus::getFinishedTime()
- UserModuleStatus::getCompletionTime in src/
Entity/ UserModuleStatus.php - Get the time (in seconds) that the user spent to complete the module.
File
- src/
Entity/ UserModuleStatus.php, line 169
Class
- UserModuleStatus
- Defines the User module status entity.
Namespace
Drupal\opigno_module\EntityCode
public function getFinishedTime() : int {
return (int) $this
->get('finished')
->getString();
}