Files
snipe-it/app/models/CompanayableTrait.php
T
2015-11-18 09:29:35 +03:00

15 lines
244 B
PHP

<?php
trait CompanayableTrait
{
/**
* Boot the companayable trait for a model.
*
* @return void
*/
public static function bootCompanayableTrait()
{
static::addGlobalScope(new CompanayableScope);
}
}