mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Add beginning of a project management system to placeholders
This commit is contained in:
parent
e56de4b19d
commit
adfe07aad9
42 changed files with 717 additions and 118 deletions
|
@ -37,10 +37,10 @@ class GitCommit{
|
|||
// *******
|
||||
|
||||
/**
|
||||
* @throws Exceptions\ValidationException
|
||||
* @throws Exceptions\InvalidGitCommitException
|
||||
*/
|
||||
public function Validate(): void{
|
||||
$error = new Exceptions\ValidationException();
|
||||
$error = new Exceptions\InvalidGitCommitException();
|
||||
|
||||
if(!isset($this->EbookId)){
|
||||
$error->Add(new Exceptions\GitCommitEbookIdRequiredException());
|
||||
|
@ -83,7 +83,7 @@ class GitCommit{
|
|||
}
|
||||
|
||||
/**
|
||||
* @throws Exceptions\ValidationException
|
||||
* @throws Exceptions\InvalidGitCommitException
|
||||
*/
|
||||
public function Create(): void{
|
||||
$this->Validate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue