laravel 8 factory $this->call code example Example: laravel factory php artisan make:factory PostFactory --model=Post