1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00
invoiceninja/app/DataMapper/DefaultSettings.php

49 lines
793 B
PHP
Raw Normal View History

<?php
2019-05-11 05:32:07 +02:00
/**
* 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\DataMapper;
use App\Models\Client;
2019-01-27 00:22:57 +01:00
/**
* Class DefaultSettings
* @package App\DataMapper
*/
class DefaultSettings extends BaseSettings
{
2019-01-27 00:22:57 +01:00
/**
* @var int
*/
public static $per_page = 25;
2019-01-27 00:22:57 +01:00
/**
* @return \stdClass
*/
public static function userSettings() : \stdClass
{
return (object)[
class_basename(Client::class) => self::clientSettings(),
];
}
2019-01-27 00:22:57 +01:00
/**
* @return \stdClass
*/
private static function clientSettings() : \stdClass
{
return (object)[
];
}
}