PHP Class App\Ninja\Repositories\ExpenseRepository

Inheritance: extends BaseRepository
Show file Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$documentRepo

Public Methods

Method Description
__construct ( DocumentRepository $documentRepo )
all ( )
find ( $filter = null )
findVendor ( $vendorPublicId )
getClassName ( ) Expenses
save ( $input, $expense = null )

Method Details

__construct() public method

public __construct ( DocumentRepository $documentRepo )
$documentRepo DocumentRepository

all() public method

public all ( )

find() public method

public find ( $filter = null )

findVendor() public method

public findVendor ( $vendorPublicId )

getClassName() public method

Expenses
public getClassName ( )

save() public method

public save ( $input, $expense = null )

Property Details

$documentRepo protected property

protected $documentRepo