Skip to content

Commit

Permalink
Add AuthorInterface.php
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Jul 17, 2024
1 parent 2dfefbc commit ae5247f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/Interface/Git/Commit/AuthorInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

declare(strict_types=1);

namespace Ghostwriter\Arm\Interface\Git\Commit;

use Ghostwriter\Arm\Interface\Git\Commit\Author\EmailInterface;
use Ghostwriter\Arm\Interface\Git\Commit\Author\NameInterface;

interface AuthorInterface
{
public function email(): EmailInterface;

public function name(): NameInterface;

public static function new(string $name, string $email): self;
}

0 comments on commit ae5247f

Please sign in to comment.