progress
This commit is contained in:
@@ -17,9 +17,9 @@ class FactoryService
|
||||
$this->showProcessingService = $showProcessingService;
|
||||
}
|
||||
|
||||
public function process($item, string $job)
|
||||
public function process($item, string $job, $type)
|
||||
{
|
||||
switch ($item->type) {
|
||||
switch ($type) {
|
||||
case ItemToFetch::TYPE_MOVIE:
|
||||
return $this->movieProcessingService->process($item, $job);
|
||||
case ItemToFetch::TYPE_TV_SERIES:
|
||||
|
||||
Reference in New Issue
Block a user