mixed createAs(string $class, string $name, array $attributes = array())
Create an instance of the given model and type and persist it to the database.
mixed createAs(string $class, string $name, array $attributes = array())
Create an instance of the given model and type and persist it to the database.
string | $class | |
string | $name | |
array | $attributes |
mixed |
Designed by : w10schools
service@w10schools.com
Please login to continue.