public setVersion ( string | callable $version ) | ||
$version | string | callable | the version of this module. Version can be specified as a PHP callback, which can accept module instance as an argument and should return the actual version. For example: ```php function (Module $module) { //return string } ``` |