mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Add annotated methods.
This commit is contained in:
@@ -24,16 +24,23 @@ namespace FireflyIII\Support\Facades;
|
||||
|
||||
use FireflyIII\Models\Preference;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Support\Collection;
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* Class Preferences.
|
||||
*
|
||||
* @method Preference set(string $name, $value)
|
||||
* @method Collection beginsWith(User $user, string $search)
|
||||
* @method bool delete(string $name)
|
||||
* @method Collection findByName(string $name)
|
||||
* @method Preference get(string $name, $value)
|
||||
* @method array getArrayForUser(User $user, array $list)
|
||||
* @method Preference|null getForUser(User $user, string $name, $default = null)
|
||||
* @method string lastActivity()
|
||||
* @method void mark()
|
||||
* @method Preference set(string $name, $value)
|
||||
* @method Preference setForUser(User $user, string $name, $value)
|
||||
*/
|
||||
class Preferences extends Facade
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user