Last active
December 5, 2017 04:39
-
-
Save jhurtadojerves/37fd64fbbcafdd606a68beb9afa3b31e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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