Skip to content

Instantly share code, notes, and snippets.

@janmarek
Created October 23, 2012 11:13
Show Gist options
  • Save janmarek/3938236 to your computer and use it in GitHub Desktop.
Save janmarek/3938236 to your computer and use it in GitHub Desktop.
<?php
/**
* @param \Doctrine\ORM\EntityManager $entityManager
* @param \Namespace\FooRepository $fooRepository
* @param \Namespace\BarRepository $barRepository
*/
public function __construct(EntityManager $entityManager, FooRepository $fooRepository, BarRepository $barRepository)
{
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment