79150568

Date: 2024-11-02 11:44:22
Score: 2.5
Natty:
Report link

Mutators only work with eloquent model,when you work with DB::table,You are not using model layer to communicate with database,you are connecting to database directly,so all mutators,accessors,cast properties and ... you have defined in model layer doesnt participate in your request lifecycle.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hossein Hashemi