DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel faker value or null
'parent_id' => $faker->boolean ? Page::all()->random()->id : null,
Source by laravel.com #
PREVIOUS
NEXT
Tagged:
#laravel
#faker
#null
ADD COMMENT
Topic
COMMENT
Name
4+1 =
Submit