for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Quantum\Hub\Entity;
/**
* @class Commit
* @package Quantum\Hub\Entity
*/
class Commit extends BaseEntity
{
* The id of the commit
* @var string
protected string $id = '';
* The commit message
protected string $message = '';
* The time of commit
protected string $timestamp = '';
* The URL of the commit
protected string $url = '';
* The files added
* @var array<string>
protected array $added = [];
* The files modified
protected array $modified = [];
* The files removed
protected array $removed = [];
*
* @return string
public function getId(): string
return $this->id;
}
public function getMessage(): string
return $this->message;
public function getTimestamp(): string
return $this->timestamp;
public function getUrl(): string
return $this->url;
* @return array<string>
public function getAdded(): array
return $this->added;
public function getModified(): array
return $this->modified;
public function getRemoved(): array
return $this->removed;