generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
- Loading branch information
1 parent
d4c44e8
commit 789b022
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Ghostwriter\Arm\Interface\Git; | ||
|
||
use Ghostwriter\Arm\Interface\Git\Commit\AuthorInterface; | ||
use Ghostwriter\Arm\Interface\Git\Commit\MessageInterface; | ||
use Ghostwriter\Arm\Interface\StringableInterface; | ||
|
||
interface CommitInterface extends StringableInterface | ||
{ | ||
public function author(): AuthorInterface; | ||
|
||
public function branch(): BranchInterface; | ||
|
||
public function message(): MessageInterface; | ||
|
||
public static function new(AuthorInterface $author, BranchInterface $branch, MessageInterface $message): self; | ||
} | ||
|
||
// public function commit(string $commit): string; | ||
// | ||
// public function create(string $commit): string; | ||
// | ||
// public function delete(string $commit): string; | ||
// | ||
// public function exists(string $commit): bool; | ||
// | ||
// public function get(string $commit): string; | ||
// | ||
// public function list(): array; | ||
// | ||
// public function set(string $commit): string; |