Created
September 11, 2020 06:55
-
-
Save wowo/3249b2e9f1d2beacfae39f374d0fbf7e to your computer and use it in GitHub Desktop.
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 | |
namespace Example\FooBundle\Repository; | |
use Doctrine\ORM\EntityRepository; | |
class FooRepository extends EntityRepository | |
implements FooRepositoryInterface | |
{ | |
public function fetchLatest() | |
{ | |
// create query builder and fetch items sorted by date descending | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment