src/Model/Feature/Subscribed/SubscribedFeatureInterface.php
<?php
declare(strict_types=1);
/*
* This file is part of the Serendipity HQ Features Bundle.
*
* Copyright (c) Adamo Aerendir Crespi <aerendir@serendipityhq.com>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Subscribed;
use SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\Configured\ConfiguredFeatureInterface;
use SerendipityHQ\Bundle\FeaturesBundle\Model\Feature\FeatureInterface;
/**
* A Feature loaded from a subscription.
*/
interface SubscribedFeatureInterface extends FeatureInterface
{
public function getConfiguredFeature(): ConfiguredFeatureInterface;
public function setConfiguredFeature(ConfiguredFeatureInterface $configuredFeature);
/**
* Converts a Feature object into an array.
*/
public function toArray(): array;
}