PHP Class App\Ninja\Transformers\EntityTransformer

Inheritance: extends League\Fractal\TransformerAbstract
Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Свойство Type Description
$account
$serializer

Méthodes publiques

Méthode Description
__construct ( App\Models\Account $account = null, $serializer = null )
getDefaultIncludes ( )

Méthodes protégées

Méthode Description
getDefaults ( $entity )
getTimestamp ( $date )
includeCollection ( $data, $transformer, $entityType )
includeItem ( $data, $transformer, $entityType )

Method Details

__construct() public méthode

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

getDefaultIncludes() public méthode

public getDefaultIncludes ( )

getDefaults() protected méthode

protected getDefaults ( $entity )

getTimestamp() protected méthode

protected getTimestamp ( $date )

includeCollection() protected méthode

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

includeItem() protected méthode

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

Property Details

$account protected_oe property

protected $account

$serializer protected_oe property

protected $serializer