andersao / andersao/l5-repository
How to load method CustomRepositoryEloquent of other CustomRepositoryEloquent?
Abierto
- Lenguaje dominante
- PHP
- Estrellas
- 4.2k
- Forks
- 880
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.