Created
August 29, 2014 09:21
-
-
Save coreymcmahon/5aad21e02da48da7ce8f to your computer and use it in GitHub Desktop.
Using the Repository Pattern - example 3 - http://www.slashnode.com/why-use-repository-pattern/
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 Post extends Model | |
{ | |
public static function getRecent() | |
{ /* … etc …*/ } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment