1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 13:42:49 +01:00
invoiceninja/app/Services/PdfMaker/Designs/Utilities/BaseDesign.php

28 lines
613 B
PHP
Raw Normal View History

2020-08-04 16:56:17 +02:00
<?php
/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2020. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\Services\PdfMaker\Designs\Utilities;
class BaseDesign
2020-08-04 16:56:17 +02:00
{
public function setup(): void
{
if (isset($this->context['client'])) {
$this->client = $this->context['client'];
}
if (isset($this->context['invoice'])) {
$this->invoice = $this->context['invoice'];
}
}
2020-08-04 16:56:17 +02:00
}