setVersion() public method (available since version 2.0.11)
Sets current module version.
public void setVersion ( $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: function (Module $module) { //return string } |
Please login to continue.