Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. $requisitos = $listaRequisitosPorListaServicios->filter(function ($requisito) {
  2. return $requisito->tipos->contains(function ($tipo) {
  3. return $tipo->nombre == "ANTIGUO" && $tipo->pivot->actualizacion;
  4. });
  5. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement