Method
MultipartStreamInterface::getContentType
Return the value of the Content-Type header, with the boundary parameter.
Description#
public MultipartStreamInterface::getContentType(): stringReturn values#
string
Examples#
echo $body->getContentType(); // multipart/form-data; boundary=phasync4f2a...See also#
MultipartStream::__constructCreate the body from the fields.