Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Indatus
Ranger
ContentType
ContentRendererInterface
render
Indatus\Ranger\ContentType\ContentRendererInterface::render PHP Метод
Документация по интерфейсу ContentRendererInterface
Показать файл
Открыть проект
render()
публичный
Метод
render - renders api response in the format of the class that implements this interface.
public
render
(
array
$content
) :
mixed
$content
array
the data format of the api response should be an array. If using eloquent make sure to use the toArray() method before passing the data to this method.
Результат
mixed
public function render(array $content);
ContentRendererInterface
render