this is my input data for the transformer.
array:3 [▼
0 => {#405 ▼
+"day": 24
+"month": 5
+"name_cz": "Jana"
}
1 => {#404 ▼
+"day": 24
+"month": 6
+"name_cz": "Jan"
}
2 => {#406 ▼
+"day": 6
+"month": 7
+"name_cz": "Upálení mistra Jana Husa"
}
]
And this is my transformer $this->item($dates, new DateTransformer());
I need to pass this data to the transformer and process it nut array is not accepted by transformer. How can I pass data to the transformer or multiple instances of Eloquent? Thank you
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2F5YMQB
via IFTTT
Aucun commentaire:
Enregistrer un commentaire