Skip to content

Commit

Permalink
feat: support nimbly/shuttle discovery (#7)
Browse files Browse the repository at this point in the history
This PR adds support for
[`nimbly/shuttle`](https://github.com/nimbly/Shuttle) discovery as a
PSR-18 HTTP Client implementation.
  • Loading branch information
evansims authored Dec 4, 2024
1 parent f5233bc commit 4840a2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Implementations/Psr18/Clients.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,12 @@ public static function candidates(): CandidatesCollection
builder: static fn (string $class = '\Joomla\Http\Http'): object => new $class(),
));

self::$candidates->add(CandidateEntity::create(
package: 'nimbly/shuttle',
version: '^1.0',
builder: static fn (string $class = '\Nimbly\Shuttle\Shuttle'): object => new $class(),
));

return self::$candidates;
}

Expand Down

0 comments on commit 4840a2a

Please sign in to comment.