Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- log of $department:
- {
- name: "Logistics"
- description: "they deal with logistics
- }
- log of $department->employees:
- [
- {
- name: "bob"
- age: 22
- },
- {
- ...
- }
- ]
- I now want to have a department object like this:
- {
- name: "Logistics",
- description: "they deal with logistics,
- employees: [
- {
- name: "bob"
- age: 22
- },
- {
- ...
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement