phasync
MultipartStreamInterface / getContentType

Method

MultipartStreamInterface::getContentType

Return the value of the Content-Type header, with the boundary parameter.

Description#

public MultipartStreamInterface::getContentType(): string

Return values#

string

Examples#

Example 1
echo $body->getContentType(); // multipart/form-data; boundary=phasync4f2a...

See also#