PHP 트레잇 Isswp101\Persimmon\Traits\Presentable

파일 보기 프로젝트 열기: isswp101/elasticsearch-eloquent

공개 메소드들

메소드 설명
__toString ( ) : string Get the instance as a string.
toArray ( ) : array Get the instance as an array.
toCollection ( ) : Collection Get the instance as a collection.
toJson ( integer $options ) : string Get the instance as json.

메소드 상세

__toString() 공개 메소드

Get the instance as a string.
public __toString ( ) : string
리턴 string

toArray() 공개 메소드

Get the instance as an array.
public toArray ( ) : array
리턴 array

toCollection() 공개 메소드

Get the instance as a collection.
public toCollection ( ) : Collection
리턴 Illuminate\Support\Collection

toJson() 공개 메소드

Get the instance as json.
public toJson ( integer $options ) : string
$options integer
리턴 string