Commit 8f32fe5f authored by Jon Pugh's avatar Jon Pugh

Make sure SiteContext and PlatformContext implement ConfigurationInterface.

parent 5a841098
......@@ -3,6 +3,7 @@
namespace Aegir\Provision\Context;
use Aegir\Provision\Context;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* Class PlatformContext
......@@ -11,8 +12,12 @@ use Aegir\Provision\Context;
*
* @see \Provision_Context_platform
*/
class PlatformContext extends Context
class PlatformContext extends Context implements ConfigurationInterface
{
/**
* @var string
*/
public $type = 'platform';
static function option_documentation()
{
......
......@@ -3,6 +3,7 @@
namespace Aegir\Provision\Context;
use Aegir\Provision\Context;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* Class SiteContext
......@@ -11,8 +12,12 @@ use Aegir\Provision\Context;
*
* @see \Provision_Context_site
*/
class SiteContext extends Context
class SiteContext extends Context implements ConfigurationInterface
{
/**
* @var string
*/
public $type = 'site';
static function option_documentation()
{
......
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