Removed any remaining reference to AnnotatedFactory

This commit is contained in:
Alejandro Celaya
2017-07-22 14:20:40 +02:00
parent b93d65ddc1
commit 01a4f9f867
15 changed files with 46 additions and 142 deletions

View File

@@ -1,7 +1,6 @@
<?php
namespace Shlinkio\Shlink\Rest\Service;
use Acelaya\ZsmAnnotatedServices\Annotation\Inject;
use Doctrine\ORM\EntityManagerInterface;
use Shlinkio\Shlink\Common\Exception\InvalidArgumentException;
use Shlinkio\Shlink\Rest\Entity\ApiKey;
@@ -13,12 +12,6 @@ class ApiKeyService implements ApiKeyServiceInterface
*/
private $em;
/**
* ApiKeyService constructor.
* @param EntityManagerInterface $em
*
* @Inject({"em"})
*/
public function __construct(EntityManagerInterface $em)
{
$this->em = $em;