PATH:
home
/
rwabteecom
/
public_html
/
vendor
/
saloonphp
/
saloon
/
src
/
Data
/
Editing: FactoryCollection.php
<?php declare(strict_types=1); namespace Saloon\Data; use Psr\Http\Message\UriFactoryInterface; use Saloon\Contracts\MultipartBodyFactory; use Psr\Http\Message\StreamFactoryInterface; use Psr\Http\Message\RequestFactoryInterface; use Psr\Http\Message\ResponseFactoryInterface; class FactoryCollection { /** * Constructor * * This class is used to collect all the different PSR and Saloon factories * together into one, simple class that can be defined by senders. */ public function __construct( public readonly RequestFactoryInterface $requestFactory, public readonly UriFactoryInterface $uriFactory, public readonly StreamFactoryInterface $streamFactory, public readonly ResponseFactoryInterface $responseFactory, public readonly MultipartBodyFactory $multipartBodyFactory, ) { // } }
SAVE
CANCEL