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

28 lines
610 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'];
}
2020-08-05 11:52:01 +02:00
if (isset($this->context['entity'])) {
$this->entity = $this->context['entity'];
}
}
2020-08-04 16:56:17 +02:00
}