UedaKouta / phalcon_work

0 stars 0 forks source link

privateで切り出し (TodosController.php) #16

Open UedaKouta opened 4 years ago

UedaKouta commented 4 years ago

https://github.com/UedaKouta/phalcon_work/blob/0c7225433f8c650f2920f60e6500eea75ef5ee47/todo/app/controllers/TodosController.php#L158-L174

この処理複数回(2回?)出ている気がしますので、privateで切り出しても良いかもです。

_Originally posted by @mokawa-rosso in https://github.com/UedaKouta/phalcon_work/pull/8#issuecomment-657218919_