* use php-cs-fixer instead of phpcodesniffer * updated scrutinizer config * adjusted code yules to all files * updated CONTRIBUTING guidelines
29 lines
589 B
PHP
29 lines
589 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Kimai time-tracking app.
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace App\Invoice;
|
|
|
|
use App\Model\InvoiceModel;
|
|
|
|
/**
|
|
* Class NumberGeneratorInterface defines all methods that invoice number generator have to implement.
|
|
*/
|
|
interface NumberGeneratorInterface
|
|
{
|
|
/**
|
|
* @param InvoiceModel $model
|
|
*/
|
|
public function setModel(InvoiceModel $model);
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getInvoiceNumber(): string;
|
|
}
|