Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

db seed in controller

$fullClassName = "NitseditorPlugins${pluginName}DatabasesseedsInstallSeeder";

Artisan::call("db:seed", ['--class' => $class]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #db #seed #controller
ADD COMMENT
Topic
Name
8+4 =