1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 07:02:34 +01:00
invoiceninja/app/DataMapper/DefaultSettings.php

40 lines
533 B
PHP
Raw Normal View History

<?php
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)[
];
}
}