Commit 31fb708c authored by Jon Pugh's avatar Jon Pugh

Add a separate verifySubscription() method to Services.

parent 3c8ecb8c
......@@ -53,6 +53,14 @@ class Service
$this->writeConfigurations();
}
/**
* React to the `provision verify` command.
*/
function verifySubscription(ServiceSubscription $serviceSubscription)
{
$this->writeConfigurations($serviceSubscription);
}
/**
* List context types that are allowed to subscribe to this service.
*
......
......@@ -24,6 +24,6 @@ class ServiceSubscription {
}
public function verify() {
$this->service->verify();
$this->service->verifySubscription($this);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment