I have a User Eloquent model with attribute phone_1
here are method, but it does not work:
public function getPhone1Attribute($value)
{
xdebug_break();
if ($value !== null) {
return $this->formatPhone($value);
}
return $value;
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire