PHP Trait Stevebauman\Inventory\Traits\InventoryTransactionHistoryTrait

ファイルを表示 Open project: stevebauman/inventory

Public Methods

Method Description
bootInventoryTransactionHistoryTrait ( ) : void Make sure we try and assign the current user if enabled.
transaction ( ) : BelongsTo The belongsTo stock relationship.

Method Details

bootInventoryTransactionHistoryTrait() public static method

Make sure we try and assign the current user if enabled.
public static bootInventoryTransactionHistoryTrait ( ) : void
return void

transaction() abstract public method

The belongsTo stock relationship.
abstract public transaction ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo