I am used to develop web application using C#. Just wondering if Laravel can do this trick?
// C#
public class User
{
public int ID { get; set; }
public string Name { get; set; }
}
public class Response
{
public int code { get; set; }
public User users { get; set; }
}
C# can get and set the Object within object. Can anyone give me some tips or hints on how to do this in Laravel? Is this possible?
Basically Response is not a table inside my database. But User class was.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire