for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the eav package.
* @author Aleksandr Drobotik <[email protected]>
* @copyright 2023 Aleksandr Drobotik
* @license https://opensource.org/license/mit The MIT License
*/
declare(strict_types=1);
namespace Drobotik\Eav\Trait;
use Drobotik\Eav\Repository\AttributeRepository;
use Drobotik\Eav\Repository\PivotRepository;
use Drobotik\Eav\Repository\ValueRepository;
trait RepositoryTrait
{
public function makePivotRepository(): PivotRepository
return new PivotRepository();
}
public function makeAttributeRepository(): AttributeRepository
return new AttributeRepository();
public function makeValueRepository(): ValueRepository
return new ValueRepository();