Created
August 7, 2014 16:31
-
-
Save hskrasek/03392a6f9d7b8cd2892d to your computer and use it in GitHub Desktop.
Terry's interesting thing.
This file contains 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
<?php | |
$user = new User; | |
$includes = "users,posts,comments"; | |
call_user_func_array([$user, 'with'], explode(',', $includes)); | |
$user->find(1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment