bfg / embedded-call
API with closing functions
Installs: 31 707
Dependents: 5
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:bfg-app
Requires
- php: >=8.0.0
README
This package provides the ability to call a feature with adjusted data. It is convenient to let out the API with closing functions.
Usage
embedded_call(function (\Illuminate\Http\Request $request) { dd($request); // This is a request app instance }); // Or embedded_call(function (\Illuminate\Http\Request $request) { dd($request); // This is my request instance }, ['request' => $my_request_instance]);