Created
March 25, 2018 17:24
-
-
Save joaorobertopb/a13986f3309554deabc64b3498322487 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Scope; | |
trait IsMultiEmpresaTrait { | |
protected static function bootIsMultiEmpresa() { | |
static::addGlobalScope( new MultiEmpresaScope ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment