HttpMethodEnum::hasBody(): bool In this article Table of ContentsReturn Source Changelog ↑ Back to top Checks if this method typically has a request body. Return bool True if the method typically has a body, false otherwise. Source public function hasBody(): bool { return in_array($this->value, [self::POST, self::PUT, self::PATCH], \true); } View all references View on Trac View on GitHub Changelog VersionDescription0.1.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.