PHP Class App\Ninja\Transformers\ClientTransformer

Inheritance: extends EntityTransformer
Afficher le fichier Open project: hillelcoren/invoice-ninja

Protected Properties

Свойство Type Description
$availableIncludes array
$defaultIncludes

Méthodes publiques

Méthode Description
includeContacts ( Client $client ) : League\Fractal\Resource\Collection
includeCredits ( Client $client ) : League\Fractal\Resource\Collection
includeExpenses ( Client $client ) : League\Fractal\Resource\Collection
includeInvoices ( Client $client ) : League\Fractal\Resource\Collection
transform ( Client $client ) : array

Method Details

includeContacts() public méthode

public includeContacts ( Client $client ) : League\Fractal\Resource\Collection
$client app\models\Client
Résultat League\Fractal\Resource\Collection

includeCredits() public méthode

public includeCredits ( Client $client ) : League\Fractal\Resource\Collection
$client app\models\Client
Résultat League\Fractal\Resource\Collection

includeExpenses() public méthode

public includeExpenses ( Client $client ) : League\Fractal\Resource\Collection
$client app\models\Client
Résultat League\Fractal\Resource\Collection

includeInvoices() public méthode

public includeInvoices ( Client $client ) : League\Fractal\Resource\Collection
$client app\models\Client
Résultat League\Fractal\Resource\Collection

transform() public méthode

public transform ( Client $client ) : array
$client app\models\Client
Résultat array

Property Details

$availableIncludes protected_oe property

protected array $availableIncludes
Résultat array

$defaultIncludes protected_oe property

protected $defaultIncludes