yii\base\Module::getVersion PHP Метод

getVersion() публичный Метод

If version is not explicitly set, Module::defaultVersion method will be used to determine its value.
С версии: 2.0.11
public getVersion ( ) : string
Результат string the version of this module.
    public function getVersion()
    {
        if ($this->_version === null) {
            $this->_version = $this->defaultVersion();
        } else {
            if (!is_scalar($this->_version)) {
                $this->_version = call_user_func($this->_version, $this);
            }
        }
        return $this->_version;
    }