mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-20 14:10:11 -07:00
Remove CollectionService
This commit is contained in:
parent
c3abee1eb8
commit
df1053dd92
@ -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:
|
||||||
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user