Skip to content

Commit

Permalink
[10.x] Added getGlobalMiddleware method to HTTP Client Factory (#48…
Browse files Browse the repository at this point in the history
…950)

* Added `getGlobalMiddleware` method to HTTP Client Factory

* Fix formatting

* formatting

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
  • Loading branch information
pascalbaljet and taylorotwell authored Nov 8, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 066f5ad commit 38a996d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Client/Factory.php
Original file line number Diff line number Diff line change
@@ -413,6 +413,16 @@ public function getDispatcher()
return $this->dispatcher;
}

/**
* Get the array of global middleware.
*
* @return array
*/
public function getGlobalMiddleware()
{
return $this->globalMiddleware;
}

/**
* Execute a method against a new pending request instance.
*

0 comments on commit 38a996d

Please sign in to comment.