public __construct ( Doctrine\Common\Persistence\ObjectManager $em, Sulu\Bundle\TagBundle\Tag\TagManagerInterface $tagManager, Sulu\Bundle\MediaBundle\Media\Manager\MediaManagerInterface $mediaManager ) | ||
$em | Doctrine\Common\Persistence\ObjectManager | |
$tagManager | Sulu\Bundle\TagBundle\Tag\TagManagerInterface | |
$mediaManager | Sulu\Bundle\MediaBundle\Media\Manager\MediaManagerInterface |
public function __construct(ObjectManager $em, TagManagerInterface $tagManager, MediaManagerInterface $mediaManager)
{
$this->em = $em;
$this->tagManager = $tagManager;
$this->mediaManager = $mediaManager;
}
/** * @param ObjectManager $em * @param TagManagerInterface $tagManager * @param AccountFactory $accountFactory * @param AccountRepository $accountRepository * @param ContactRepository $contactRepository */ public function __construct(ObjectManager $em, TagmanagerInterface $tagManager, AccountFactory $accountFactory, AccountRepository $accountRepository, ContactRepository $contactRepository) { parent::__construct($em, $tagManager); $this->accountFactory = $accountFactory; $this->accountRepository = $accountRepository; $this->contactRepository = $contactRepository; }