string|null prefers(string|array $contentTypes)
Return the most suitable content type from the given array based on content negotiation.
string|null prefers(string|array $contentTypes)
Return the most suitable content type from the given array based on content negotiation.
string|array | $contentTypes |
string|null |
Designed by : w10schools
service@w10schools.com
Please login to continue.