1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00
invoiceninja/app/Factory/GroupSettingFactory.php

31 lines
642 B
PHP
Raw Normal View History

2019-10-05 00:58:51 +02:00
<?php
/**
* Invoice Ninja (https://invoiceninja.com)
*
* @link https://github.com/invoiceninja/invoiceninja source repository
*
* @copyright Copyright (c) 2019. Invoice Ninja LLC (https://invoiceninja.com)
*
* @license https://opensource.org/licenses/AAL
*/
namespace App\Factory;
use App\Models\GroupSetting;
class GroupSettingFactory
{
public static function create(int $company_id, int $user_id) :GroupSetting
{
$gs = new GroupSetting;
$gs->name = '';
2019-10-05 23:24:46 +02:00
$gs->company_id = $company_id;
2019-10-05 00:58:51 +02:00
$gs->user_id = $user_id;
2019-10-08 00:07:43 +02:00
$gs->settings = new \stdClass;
2019-10-05 00:58:51 +02:00
return $gs;
}
}