for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* File: ClientFactory.php
*
* @author Maciej Sławik <[email protected]>
* Github: https://github.com/maciejslawik
*/
namespace MSlwk\ReactPhpPlayground\Model\Adapter\ReactPHP;
use React\EventLoop\LoopInterface;
use React\HttpClient\Client;
* Class ClientFactory
* @package MSlwk\ReactPhpPlayground\Model\Adapter\ReactPHP
class ClientFactory
{
* @param LoopInterface $loop
* @return Client
public function create(LoopInterface $loop): Client
return new Client($loop);
}