Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Apple_Push_API
MIME_Builder
is_valid_mime_type
Apple_Push_API\MIME_Builder::is_valid_mime_type PHP Method
MIME_Builder Class Documentation
Show file
Open project: alleyinteractive/apple-news
is_valid_mime_type()
private
method
Check if this file is a valid MIME type to be included in the bundle.
private
is_valid_mime_type
(
string
$type
) :
boolean
$type
string
return
boolean
private function is_valid_mime_type($type) { return in_array($type, self::$valid_mime_types); }
MIME_Builder
__construct
add_content_from_file
add_json_string
add_metadata
boundary
build_attachment
close
get_debug_content
get_mime_type_for
is_valid_mime_type