/** * @param array $attributes * @param Wallet $wallet */ function __construct(array $attributes, Wallet $wallet) { parent::__construct($attributes); $this->wallet = $wallet; }
function __construct(array $attributes, Wallet $sender) { parent::__construct($attributes); $this->sender = $sender; }
function __construct(array $attributes, Currency $currency) { parent::__construct($attributes); $this->currency = $currency; }