Skip to content

Commit

Permalink
Add documentation for new Module changes
Browse files Browse the repository at this point in the history
  • Loading branch information
austenmc committed Aug 21, 2016
1 parent d4a525d commit d1f6be4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ interface Module extends EventHandler
* this method to perform one-time setup operations like adding tables
* to the database.
* @param Game $g The game.
* @param ModuleModel $module The database model for this module.
*/
public static function onRegister(Game $g, ModuleModel $module);

Expand All @@ -22,6 +23,7 @@ public static function onRegister(Game $g, ModuleModel $module);
* to tear down any module-specific additions, like database tables added
* during registration.
* @param Game $g The game.
* @param ModuleModel $module The database model for this module.
*/
public static function onUnregister(Game $g, ModuleModel $module);
}

0 comments on commit d1f6be4

Please sign in to comment.