for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DevBoardLib\GithubCore\Commit;
use DevBoardLib\GithubCore\Identifier;
/**
* Class GithubCommitSha.
*/
class GithubCommitSha implements Identifier
{
/** @var string */
private $commitSha;
* BranchId constructor.
*
* @param $commitSha
public function __construct($commitSha)
$this->commitSha = $commitSha;
}
* @return string
public function __toString()
return (string) $this->commitSha;