PHP Class App\Ninja\Transformers\UserAccountTransformer

Inheritance: extends League\Fractal\TransformerAbstract
显示文件 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_oe property

protected $defaultIncludes

$tokenName protected_oe property

protected $tokenName