Version helper

Version::get

Get the current version as a human readable string

Parameters

  • $version_info (array): The version info

Returns

  • string

Example

     $config = Config::instance()->load('Version')->as_array();

     echo Version::get($config);