Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | List of all members
core_xapi\test_helper Class Reference

Contains helper functions for xAPI PHPUnit Tests. More...

Public Member Functions

 get_last_log_entry ()
 Return the last log entry from standardlog. More...
 
 init_log ()
 Constructor for a xAPI test helper.
 

Detailed Description

Contains helper functions for xAPI PHPUnit Tests.

Since
Moodle 3.9
License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ get_last_log_entry()

core_xapi\test_helper::get_last_log_entry ( )

Return the last log entry from standardlog.

Return values
core::event::base|nullThe last log event or null if none found.

The documentation for this class was generated from the following file: