mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
22 lines
354 B
PHP
22 lines
354 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Database\Scope;
|
|
|
|
/**
|
|
* Class AccountScopeTrait
|
|
*
|
|
* @package FireflyIII\Database\Scope
|
|
*/
|
|
trait AccountScopeTrait
|
|
{
|
|
/**
|
|
* Boot the soft deleting trait for a model.
|
|
*
|
|
* @return void
|
|
*/
|
|
public static function bootAccountScopeTrait()
|
|
{
|
|
static::addGlobalScope(new AccountScope);
|
|
}
|
|
|
|
} |