PHP Class app\models\Credit

Inheritance: extends EntityModel, use trait Illuminate\Database\Eloquent\SoftDeletes, use trait Laracasts\Presenter\PresentableTrait
Show file Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$dates array
$presenter string

Public Methods

Method Description
account ( ) : BelongsTo
apply ( $amount ) : mixed
client ( ) : mixed
getEntityType ( ) : mixed
getName ( ) : string
invoice ( ) : mixed
user ( ) : mixed

Method Details

account() public method

public account ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo

apply() public method

public apply ( $amount ) : mixed
$amount
return mixed

client() public method

public client ( ) : mixed
return mixed

getEntityType() public method

public getEntityType ( ) : mixed
return mixed

getName() public method

public getName ( ) : string
return string

invoice() public method

public invoice ( ) : mixed
return mixed

user() public method

public user ( ) : mixed
return mixed

Property Details

$dates protected property

protected array $dates
return array

$presenter protected property

protected string $presenter
return string