라라벨 factory .

라라벨 factory .

Comment model 이 있어요.

php artisan make:factory CommentFactory 하면,

Comment 모델이랑 연계됬구나~ 하고 찰떡처럼 알아듣고 그거쓴다.

laravel latest()-> get()

use App\Models\Comment

from http://habbang0.tistory.com/96 by ccl(A) rewrite - 2021-10-25 16:00:25