| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class CategoryUnloader implements Unloader |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var \Doctrine\ORM\EntityManager |
||
| 17 | */ |
||
| 18 | protected $entityManager; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Constructor |
||
| 22 | * |
||
| 23 | * @param \Doctrine\ORM\EntityManager $entityManager |
||
| 24 | */ |
||
| 25 | public function __construct(EntityManager $entityManager) |
||
| 26 | { |
||
| 27 | $this->entityManager = $entityManager; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * {@inheritdoc} |
||
| 32 | */ |
||
| 33 | public function unload(Tenant $tenant) |
||
| 42 | } |
||
| 43 | } |
||
| 44 |