PHP 클래스 App\Ninja\Transformers\EntityTransformer

상속: extends League\Fractal\TransformerAbstract
파일 보기 프로젝트 열기: hillelcoren/invoice-ninja 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$account
$serializer

공개 메소드들

메소드 설명
__construct ( App\Models\Account $account = null, $serializer = null )
getDefaultIncludes ( )

보호된 메소드들

메소드 설명
getDefaults ( $entity )
getTimestamp ( $date )
includeCollection ( $data, $transformer, $entityType )
includeItem ( $data, $transformer, $entityType )

메소드 상세

__construct() 공개 메소드

public __construct ( App\Models\Account $account = null, $serializer = null )
$account App\Models\Account

getDefaultIncludes() 공개 메소드

public getDefaultIncludes ( )

getDefaults() 보호된 메소드

protected getDefaults ( $entity )

getTimestamp() 보호된 메소드

protected getTimestamp ( $date )

includeCollection() 보호된 메소드

protected includeCollection ( $data, $transformer, $entityType )

includeItem() 보호된 메소드

protected includeItem ( $data, $transformer, $entityType )

프로퍼티 상세

$account 보호되어 있는 프로퍼티

protected $account

$serializer 보호되어 있는 프로퍼티

protected $serializer