PHP Class App\Ninja\Transformers\InvoiceTransformer

Inheritance: extends EntityTransformer
Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$availableIncludes
$defaultIncludes

Public Methods

Method Description
__construct ( $account = null, $serializer = null, $client = null )
includeClient ( Invoice $invoice )
includeDocuments ( Invoice $invoice )
includeExpenses ( Invoice $invoice )
includeInvitations ( Invoice $invoice )
includeInvoiceItems ( Invoice $invoice )
includePayments ( Invoice $invoice )
transform ( Invoice $invoice )

Method Details

__construct() public method

public __construct ( $account = null, $serializer = null, $client = null )

includeClient() public method

public includeClient ( Invoice $invoice )
$invoice app\models\Invoice

includeDocuments() public method

public includeDocuments ( Invoice $invoice )
$invoice app\models\Invoice

includeExpenses() public method

public includeExpenses ( Invoice $invoice )
$invoice app\models\Invoice

includeInvitations() public method

public includeInvitations ( Invoice $invoice )
$invoice app\models\Invoice

includeInvoiceItems() public method

public includeInvoiceItems ( Invoice $invoice )
$invoice app\models\Invoice

includePayments() public method

public includePayments ( Invoice $invoice )
$invoice app\models\Invoice

transform() public method

public transform ( Invoice $invoice )
$invoice app\models\Invoice

Property Details

$availableIncludes protected property

protected $availableIncludes

$defaultIncludes protected property

protected $defaultIncludes