FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
surecart
/
app
/
src
/
Models
/
Traits
Edit File: HasPayouts.php
<?php namespace SureCart\Models\Traits; use SureCart\Models\Payout; /** * If the model has an attached customer. */ trait HasPayouts { /** * Set the payouts attribute * * @param object $value Array of payout objects. * * @return void */ public function setPayoutsAttribute( $value ) { $this->setCollection( 'payouts', $value, Payout::class ); } }
Save
Back