REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 540 B
Close
/home/byroehnu/easetack.com/vendor/php-http/discovery/src/Strategy/MockClientStrategy.php
Text
Base64
<?php namespace Http\Discovery\Strategy; use Http\Client\HttpAsyncClient; use Http\Client\HttpClient; use Http\Mock\Client as Mock; /** * Find the Mock client. * * @author Sam Rapaport <me@samrapdev.com> */ final class MockClientStrategy implements DiscoveryStrategy { public static function getCandidates($type) { if (is_a(HttpClient::class, $type, true) || is_a(HttpAsyncClient::class, $type, true)) { return [['class' => Mock::class, 'condition' => Mock::class]]; } return []; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
CommonClassesStrategy.php
7.73 KB
lrw-rw-rw-
2024-10-02 11:20:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CommonPsr17ClassesStrategy.php
3.86 KB
lrw-rw-rw-
2024-10-02 11:20:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DiscoveryStrategy.php
613 B
lrw-rw-rw-
2024-10-02 11:20:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MockClientStrategy.php
540 B
lrw-rw-rw-
2024-10-02 11:20:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PuliBetaStrategy.php
2.19 KB
lrw-rw-rw-
2024-10-02 11:20:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).