andersao / andersao/l5-repository
How to load method CustomRepositoryEloquent of other CustomRepositoryEloquent?
オープン
- 主要言語
- PHP
- スター
- 4.2k
- フォーク
- 880
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi,
I have one doubth, how to load one method (...RepositoryEloquent) of other CustomerRepositoryEloquent
Example:
```
find(config('company.tax'));
$get_irpf = $tax->value*($amount/100);
return $get_irpf;
}
public function boot()
{
$this->pushCriteria(app(RequestCriteria::class));
}
}
```
Now, how to load the method getTaxOfAmount in my other CustomRepositoryEloquent ?
```
pushCriteria(app(RequestCriteria::class));
}
}
```
Thanks.
コントリビューションガイド
評価
この issue はまだ評価されていません。