Support the ongoing development of →
posted 9 years ago
Last updated 1 year ago.

Was able to figure it out. In the Manager class, I called:

 $workflow= App::make($class);

I did not need to set a binding in the service provider.

Last updated 1 year ago.

Can you help me with that? I try to do that pretty much the same thing... but... I want to Inject in Laravel 5.2 a dinamyc FormRequest

my code is to update a resource in the database but i want to validate depending of the uri...

// so instead of use Request i think i could use somethign like function update({$this->getClass()} $request, $space, $form)...

public function update(Request $request, $space, $form)
        // $form is a slug of one record in my database, based on this variable i want to determinate which request i have to load dinamyc...

Do you see what i try to do?

Last updated 7 years ago.

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

rbruhn rbruhn Joined 16 Apr 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.