Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Neomerx
JsonApi
Http
Headers
Header
newInstance
Neomerx\JsonApi\Http\Headers\Header::newInstance PHP Метод
Документация по классу Header
Показать файл
Открыть проект
newInstance()
защищенный
статический
Метод
protected
static
newInstance
(
string
$name
,
Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface[]
$mediaTypes
) :
Header
$name
string
$mediaTypes
Neomerx\JsonApi\Contracts\Http\Headers\MediaTypeInterface[]
Результат
Header
protected static function newInstance($name, $mediaTypes) { return new static($name, $mediaTypes); }
Header
__construct
getMediaTypes
getName
newInstance
parse
parseMediaType