Skip to content

Instantly share code, notes, and snippets.

@jhurtadojerves
Last active December 5, 2017 04:39
Show Gist options
  • Save jhurtadojerves/37fd64fbbcafdd606a68beb9afa3b31e to your computer and use it in GitHub Desktop.
Save jhurtadojerves/37fd64fbbcafdd606a68beb9afa3b31e to your computer and use it in GitHub Desktop.
$juegos = 'foo' //Lógica mediante la cual obtienes en primer lugar el juego
$juegos->each(function($juegos){
$juegos->equipo_2;
});
//Ya con esto puedes hacer lo siguiente:
$juego->equipo_2->foo; //Luego de un foreach.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment