database/factories/RolesFactory.php
/**
     * Define the model's default state.
     *
     * @return array
     */
Define the model's default state.
@return array
Define the model ' s default state . @return array
public function definition()
    {
        return [
            "id" => 99,
            "name" => "superuser"
        ];
    }
public function definition ( ) { return [ " id " => 99 , " name " => " superuser " ] ; }
Define the model's default state.
Define the model ' s default state .