PHP Class App\Ninja\Transformers\UserAccountTransformer

Inheritance: extends League\Fractal\TransformerAbstract
Show file Open project: hillelcoren/invoice-ninja

Protected Properties

Property Type Description
$defaultIncludes
$tokenName

Public Methods

Method Description
__construct ( App\Models\Account $account, $serializer, $tokenName )
includeUser ( User $user )
transform ( User $user )

Method Details

__construct() public method

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

includeUser() public method

public includeUser ( User $user )
$user app\models\User

transform() public method

public transform ( User $user )
$user app\models\User

Property Details

$defaultIncludes protected property

protected $defaultIncludes

$tokenName protected property

protected $tokenName