| 12345678910111213141516171819202122232425 | 
							- <?php
 
- namespace App\Shop\Attributes\Repositories;
 
- use App\Shop\Attributes\Attribute;
 
- use App\Shop\AttributeValues\AttributeValue;
 
- use Jsdecena\Baserepo\BaseRepositoryInterface;
 
- use Illuminate\Support\Collection;
 
- interface AttributeRepositoryInterface extends BaseRepositoryInterface
 
- {
 
-     public function createAttribute(array $data) : Attribute;
 
-     public function findAttributeById(int $id) : Attribute;
 
-     public function updateAttribute(array $data) : bool;
 
-     public function deleteAttribute() : ?bool;
 
-     public function listAttributes($columns = array('*'), string $orderBy = 'id', string $sortBy = 'asc') : Collection;
 
-     public function listAttributeValues() : Collection;
 
-     public function associateAttributeValue(AttributeValue $attributeValue) : AttributeValue;
 
- }
 
 
  |