DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel global scope
protected
static
function
boot
(
)
{
parent
::
boot
(
)
;
static
::
addGlobalScope
(
new
ArchiveScope
)
;
}
Source by laracasts.com #
PREVIOUS
NEXT
Tagged:
#laravel
#global
#scope
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit