diff --git a/src/Drivers/ConfigDriver.php b/src/Drivers/ConfigDriver.php index 35ad29f..b9dd025 100644 --- a/src/Drivers/ConfigDriver.php +++ b/src/Drivers/ConfigDriver.php @@ -178,6 +178,13 @@ public function resolveGateway($provider, $merchant) return new $gateway($provider, $merchant); } + /** + * Generate the service skeleton based on the current driver. + * + * @param \Payavel\Orchestration\Contracts\Serviceable $service + * @param array $config + * @return void + */ public static function generateService(Serviceable $service, array $config) { static::putFile( diff --git a/src/Drivers/DatabaseDriver.php b/src/Drivers/DatabaseDriver.php index 1cb9fe4..e630e22 100644 --- a/src/Drivers/DatabaseDriver.php +++ b/src/Drivers/DatabaseDriver.php @@ -156,6 +156,13 @@ public function resolveGateway($provider, $merchant) return new $gateway($provider, $merchant); } + /** + * Generate the service skeleton based on the current driver. + * + * @param \Payavel\Orchestration\Contracts\Serviceable $service + * @param array $config + * @return void + */ public static function generateService(Serviceable $service, array $config) { static::putFile( diff --git a/src/ServiceDriver.php b/src/ServiceDriver.php index 030017a..43e18d2 100644 --- a/src/ServiceDriver.php +++ b/src/ServiceDriver.php @@ -91,6 +91,13 @@ abstract public function getDefaultMerchant(Providable $provider = null); */ abstract public function resolveGateway($provider, $merchant); + /** + * Generate the service skeleton based on the current driver. + * + * @param \Payavel\Orchestration\Contracts\Serviceable $service + * @param array $config + * @return void + */ public static function generateService(Serviceable $service, array $config) { //