Skip to content

Commit

Permalink
Merge pull request #40 from lanfisis/master
Browse files Browse the repository at this point in the history
Add missing interface for Sylius Plus compatibility
  • Loading branch information
lanfisis authored Mar 27, 2024
2 parents 8a71322 + 1b0e447 commit be560b3
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/Entity/HomepageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@

namespace MonsieurBiz\SyliusHomepagePlugin\Entity;

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 +42,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 be560b3

Please sign in to comment.