Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Indatus
Ranger
ContentType
ContentRendererInterface
PHP Interface Indatus\Ranger\ContentType\ContentRendererInterface
ファイルを表示
Open project: indatus/ranger
Public Methods
Method
Description
render
(
array
$content
) :
mixed
render - renders api response in the format of the class that implements this interface.
Method Details
render()
public
method
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.
return
mixed