for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ballen\GitVersionNumber;
/**
* Git Version Number
*
* A library for extracting and utilising your project's Git version information.
* @author Bobby Allen <[email protected]>
* @license https://raw.githubusercontent.com/allebb/git-version-number/master/LICENSE
* @link https://github.com/allebb/git-version-number
* @link http://bobbyallen.me
*/
class VersionFactory
{
* Factory object creation
* @param string $path Optional custom path to the .git root directory.
* @return \Ballen\GitVersionNumber\Version
public static function create($path)
return new Version($path);
}