1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-20 14:10:11 -07:00

Remove CollectionService

This commit is contained in:
David Hübner 2017-04-05 19:24:01 +02:00
parent c3abee1eb8
commit df1053dd92
2 changed files with 0 additions and 43 deletions

View File

@ -1,8 +1,4 @@
services: services:
sevice.collection:
class: AppBundle\Service\CollectionService
arguments: ['@doctrine', '@manager.brickset','@manager.rebrickable']
manager.ldraw: manager.ldraw:
class: AppBundle\Manager\LDrawManager class: AppBundle\Manager\LDrawManager
arguments: arguments:

View File

@ -1,39 +0,0 @@
<?php
namespace AppBundle\Service;
use AppBundle\Api\Client\Rebrickable\Rebrickable;
use AppBundle\Api\Manager\BricksetManager;
use Doctrine\ORM\EntityManager;
class CollectionService
{
/**
* @var BricksetManager
*/
protected $bricksetManager;
/**
* @var Rebrickable client
*/
protected $rebrickableManager;
/**
* @var EntityManager
*/
private $em;
/**
* CollectionService constructor.
*
* @param $em
* @param $bricksetManager
* @param $rebrickableManager
*/
public function __construct($em, $bricksetManager, $rebrickableManager)
{
$this->em = $em;
$this->bricksetManager = $bricksetManager;
$this->rebrickableManager = $rebrickableManager;
}
}