<?php

namespace App\Service\Campaign\LandingPage;

use App\Entity\Campaign\LandingPage\PageAuthority;

interface PageAuthorityRepositoryInterface
{
    /**
     * @param int $id
     *
     * @return PageAuthority
     */
    public function findById(int $id): ?PageAuthority;

    /**
     * @param PageAuthority $pageAuthority
     */
    public function save(PageAuthority $pageAuthority): void;

    /**
     * @param PageAuthority $pageAuthority
     */
    public function delete(PageAuthority $pageAuthority): void;
}
