Skip to content

Commit

Permalink
add multipart getAll
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Sep 15, 2024
1 parent ceed967 commit e6e836c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Multipart/Body.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ public function hasFile(): bool
return false;
}

public function getAll(): array
{
return $this->parts;
}

public function __get($name)
{
return $this->parts[$name] ?? null;
Expand Down

0 comments on commit e6e836c

Please sign in to comment.