Closed SebastiaanKloos closed 8 months ago
Can you add a test that verifies the closure gets called?
Can you add a test that verifies the closure gets called?
@riasvdv test added!
Thanks!
Hey @SebastiaanKloos I am getting an error that beforeSendRequest doesn't exist. I've already imported Ray class.
Any idea what's happening here?
Method beforeSendRequest does not exist.
at vendor/spatie/macroable/src/Macroable.php:40
36▕
37▕ public static function __callStatic($method, $parameters)
38▕ {
39▕ if (! static::hasMacro($method)) {
➜ 40▕ throw new BadMethodCallException("Method {$method} does not exist.");
41▕ }
42▕
43▕ $macro = static::$macros[$method];
44▕
I want to call an Apple Script to start Ray if not already active before doing any requests to Ray.
With the PR you would be able to add this to your service provider