src/Strategies/Relations/RelationsStrategy.php
<?php
namespace EscolaLms\Webinar\Strategies\Relations;
use EscolaLms\Webinar\Strategies\Contracts\RelationStrategyContract;
class RelationsStrategy
{
private RelationStrategyContract $relationStrategyContract;
public function __construct(
RelationStrategyContract $relationStrategyContract
)
{
$this->relationStrategyContract = $relationStrategyContract;
}
public function setRelation(): void
{
$this->relationStrategyContract->setRelation();
}
}