mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
34 lines
731 B
PHP
34 lines
731 B
PHP
<?php
|
|
|
|
namespace Infinito\Domain\SourceManagement;
|
|
|
|
use Infinito\Entity\Source\SourceInterface;
|
|
|
|
/**
|
|
* Offers to add and remove source members and memberships.
|
|
*
|
|
* @author kevinfrantz
|
|
*/
|
|
interface SourceMemberManagerInterface
|
|
{
|
|
/**
|
|
* @param SourceInterface $member
|
|
*/
|
|
public function addMember(SourceInterface $member): void;
|
|
|
|
/**
|
|
* @param SourceInterface $member
|
|
*/
|
|
public function removeMember(SourceInterface $member): void;
|
|
|
|
/**
|
|
* @param SourceInterface $membership
|
|
*/
|
|
public function addMembership(SourceInterface $membership): void;
|
|
|
|
/**
|
|
* @param SourceInterface $membership
|
|
*/
|
|
public function removeMembership(SourceInterface $membership): void;
|
|
}
|