now you should be able to inject your class in to the controller like so
public function __construct(\App\Server\MedicineDosageEntry $entry){
$this->entry = $entry;
}
public function storeData(Request $request) {
$data = $request::get('data');
$this->entry->storeData($data);
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community