Skip to content

Commit

Permalink
fix(sylius-plus): add missing interface for Sylius Plus compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lanfisis committed Mar 27, 2024
1 parent 4ba8a62 commit 1122465
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/Entity/HomepageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@
use Doctrine\Common\Collections\Collection;
use Gedmo\Timestampable\Timestampable;
use Sylius\Component\Channel\Model\ChannelInterface;
use Sylius\Component\Channel\Model\ChannelsAwareInterface;
use Sylius\Component\Resource\Model\ResourceInterface;
use Sylius\Component\Resource\Model\TimestampableInterface;
use Sylius\Component\Resource\Model\TranslatableInterface;

interface HomepageInterface extends ResourceInterface, TranslatableInterface, TimestampableInterface, Timestampable
interface HomepageInterface extends ResourceInterface, TranslatableInterface, TimestampableInterface, Timestampable, ChannelsAwareInterface
{
public function getId(): ?int;

Expand All @@ -43,15 +44,4 @@ public function setMetaDescription(?string $metaDescription): void;
public function getMetaKeywords(): ?string;

public function setMetaKeywords(?string $metaKeywords): void;

/**
* @return Collection<int, ChannelInterface>
*/
public function getChannels(): Collection;

public function addChannel(ChannelInterface $channel): void;

public function removeChannel(ChannelInterface $channel): void;

public function hasChannel(ChannelInterface $channel): bool;
}

0 comments on commit 1122465

Please sign in to comment.