Jelajahi Sumber

Renamed gearman class

Marc 13 tahun lalu
induk
melakukan
d3e9555448
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 2 2
      Resources/config/services.yml
  2. 1 1
      Service/Gearman.php

+ 2 - 2
Resources/config/services.yml

@@ -1,13 +1,13 @@
 parameters:
     config.path:                /config/Gearman/
   
-    gearman.class:              Mmoreramerino\GearmanBundle\Service\Gearman
+    gearman.client.class:              Mmoreramerino\GearmanBundle\Service\GearmanClient
     gearman.cache.class:        Mmoreramerino\GearmanBundle\Service\GearmanCache
     gearman.execute.job.class:  Mmoreramerino\GearmanBundle\Service\GearmanExecute
     gearman.settings.class:     Mmoreramerino\GearmanBundle\Service\GearmanSettings
 services:
     gearman: 
-        class: %gearman.class%
+        class: %gearman.client.class%
         calls:
           - [setContainer,  [@service_container]]
     gearman.settings: 

+ 1 - 1
Service/Gearman.php

@@ -10,7 +10,7 @@ use Mmoreramerino\GearmanBundle\Service\GearmanInterface;
  *
  * @author Marc Morera <marc@ulabox.com>
  */
-class Gearman extends GearmanService implements GearmanInterface
+class GearmanClient extends GearmanService implements GearmanInterface
 {
 
     /**