Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

643 B
Raw Blame
<?php

declare(strict_types=1);

namespace HiEvents\Repository\Eloquent;

use HiEvents\DomainObjects\AccountSubscriptionDomainObject;
use HiEvents\Models\AccountSubscription;
use HiEvents\Repository\Interfaces\AccountSubscriptionRepositoryInterface;

/**
 * @extends BaseRepository<AccountSubscriptionDomainObject>
 */
class AccountSubscriptionRepository extends BaseRepository implements AccountSubscriptionRepositoryInterface
{
    protected function getModel(): string
    {
        return AccountSubscription::class;
    }

    public function getDomainObject(): string
    {
        return AccountSubscriptionDomainObject::class;
    }
}