Pop\Version::getVersion PHP Method

getVersion() public static method

Returns the version of this library install.
public static getVersion ( ) : string
return string
    public static function getVersion()
    {
        return self::VERSION;
    }

Usage Example

Example #1
0
 public function testVersion()
 {
     $this->assertEquals('1.7.0', Version::getVersion());
     $this->assertEquals('1.7.0', trim(Version::getLatest()));
     $this->assertEquals(1, Version::compareVersion(1.8));
 }
All Usage Examples Of Pop\Version::getVersion