public static function init() { Event::register( 'earned_token', 'Model_User_Activity::earned_token' ); Event::register( 'checkin', 'Model_User_Activity::checkin' ); }Then in my app/bootstrap.php I added this line : Model_User_Activity::init(); (Autoloading the user_activity class did not work...) So yeah, this works, but I'm not sure it's the right way to go about it. Please let me know if there's a better way! Thanks very much for any help!
It looks like you're new here. If you want to get involved, click one of these buttons!