RequestOptions::allowsRedirects(): bool|null In this article Table of ContentsReturn Source Changelog ↑ Back to top Checks whether redirects are allowed. Return bool|null True when redirects are allowed (maxRedirects > 0), false when disabled (maxRedirects = 0), null when unspecified (maxRedirects = null). Source public function allowsRedirects(): ?bool { if ($this->maxRedirects === null) { return null; } return $this->maxRedirects > 0; } View all references View on Trac View on GitHub Changelog VersionDescription0.2.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.