Created
May 17, 2015 02:02
-
-
Save adelarcubs/aa48c2cebdfc061d97a1 to your computer and use it in GitHub Desktop.
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 | |
namespace User\V1\Rest\User; | |
class UserResourceFactory { | |
public function __invoke($services) { | |
$em = $services->get('Doctrine\ORM\EntityManager'); | |
return new UserResource($em); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment