PATH:
home
/
rwabteecom
/
public_html
/
vendor
/
saloonphp
/
saloon
/
src
/
Contracts
/
Body
/
Editing: BodyRepository.php
<?php declare(strict_types=1); namespace Saloon\Contracts\Body; use Psr\Http\Message\StreamInterface; use Psr\Http\Message\StreamFactoryInterface; interface BodyRepository { /** * Set the raw data in the repository * * @return $this */ public function set(mixed $value): static; /** * Get the raw data in the repository. */ public function all(): mixed; /** * Determine if the repository is empty */ public function isEmpty(): bool; /** * Determine if the repository is not empty */ public function isNotEmpty(): bool; /** * Convert the body repository into a stream */ public function toStream(StreamFactoryInterface $streamFactory): StreamInterface; }
SAVE
CANCEL