samedi 3 mars 2018

Passing variable onto package service service provider in laravel

I'm building a translation package so that others can use it. The problem that i'm facing is that i need to pass the source language, target language and source text to the package service provider method so that i can process further. The translate method of the package should be called only from views. If anyone has idea of this please help me. TIA.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire