freight order repo and fake impls of find and save
This commit is contained in:
parent
3be8eee948
commit
6ad041a945
2 changed files with 59 additions and 3 deletions
10
src/FreightOrder/FreightOrderRepository.php
Normal file
10
src/FreightOrder/FreightOrderRepository.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace FreightQuote\FreightOrder;
|
||||
|
||||
interface FreightOrderRepository
|
||||
{
|
||||
public function find(int $id): ?FreightOrder;
|
||||
|
||||
public function save(FreightOrder $freightOrder): FreightOrder;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue