Created
October 17, 2014 13:57
-
-
Save cakper/f722e4004d05e10ec866 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 Dcwroc\TaskBundle\InMemory; | |
use Dcwroc\TaskBundle\Entity\Task; | |
use Dcwroc\TaskBundle\Entity\TaskRepository; | |
class InMemoryTaskRepository implements TaskRepository | |
{ | |
/** | |
* @return Task[] | |
*/ | |
public function findAll() | |
{ | |
return [new Task(), new Task()]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment