base\Module setVersion()

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
}
doc_Yii
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.