Response::isSuccessful(): bool In this article Table of ContentsReturn Source Changelog ↑ Back to top Checks if the response indicates success. Return bool True if status code is 2xx, false otherwise. Source public function isSuccessful(): bool { return $this->statusCode >= 200 && $this->statusCode < 300; } 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.