Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F8321758
ModelFactory.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
630 B
Referenced Files
None
Subscribers
None
ModelFactory.php
View Options
<?php
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| Here you may define all of your model factories. Model factories give
| you a convenient way to create models for testing and seeding your
| database. Just tell the factory how a default model should look.
|
*/
$factory
->
define
(
App\User
::
class
,
function
(
$faker
)
{
return
[
'username'
=>
$faker
->
username
,
'email'
=>
$faker
->
email
,
'password'
=>
str_random
(
10
),
'remember_token'
=>
str_random
(
10
),
];
});
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 16:51 (17 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2570889
Default Alt Text
ModelFactory.php (630 B)
Attached To
Mode
rGROVE Auth Grove
Attached
Detach File
Event Timeline
Log In to Comment