| 1 | <?php |
||
| 8 | class InvoiceController extends Controller |
||
| 9 | { |
||
| 10 | /** @var \Sausin\Signere\Invoice */ |
||
| 11 | protected $invoice; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Create a new controller instance. |
||
| 15 | * |
||
| 16 | * @param \Sausin\Signere\Invoice $invoice |
||
| 17 | */ |
||
| 18 | 1 | public function __construct(Invoice $invoice) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * Returns a list of invoice transactions for the given month. |
||
| 27 | * |
||
| 28 | * @param int $year |
||
| 29 | * @param int $month |
||
| 30 | * @return \Illuminate\Http\Response |
||
| 31 | */ |
||
| 32 | 1 | public function __invoke(int $year, int $month) |
|
| 38 | } |
||
| 39 |