Created
December 18, 2011 13:00
-
-
Save we4tech/1493362 to your computer and use it in GitHub Desktop.
user finder
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
<?php | |
class UserFinder { | |
public static function find($id) { | |
return new LazyLoadedModel($id, new User()); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment