Skip to content

Commit c009ffa

Browse files
author
alexandresalome
committed
add getRepository method on Commit
1 parent e3b9913 commit c009ffa

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Gitonomy/Git/Commit.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,4 +452,12 @@ public function getBodyMessage()
452452

453453
return implode("\n", $lines);
454454
}
455+
456+
/**
457+
* @return Repository
458+
*/
459+
public function getRepository()
460+
{
461+
return $this->repository;
462+
}
455463
}

0 commit comments

Comments
 (0)