Warning: Undefined variable $factory in /home/alkhalaffamily/public_html/trial_benaee/database/factories/UserFactory.php on line 20

Fatal error: Uncaught Error: Call to a member function define() on null in /home/alkhalaffamily/public_html/trial_benaee/database/factories/UserFactory.php:20 Stack trace: #0 {main} thrown in /home/alkhalaffamily/public_html/trial_benaee/database/factories/UserFactory.php on line 20