AttributeValueRepositoryInterface.php 590 B

12345678910111213141516171819
  1. <?php
  2. namespace App\Shop\AttributeValues\Repositories;
  3. use App\Shop\Attributes\Attribute;
  4. use App\Shop\AttributeValues\AttributeValue;
  5. use Jsdecena\Baserepo\BaseRepositoryInterface;
  6. use Illuminate\Support\Collection;
  7. interface AttributeValueRepositoryInterface extends BaseRepositoryInterface
  8. {
  9. public function createAttributeValue(Attribute $attribute, array $data) : AttributeValue;
  10. public function associateToAttribute(Attribute $attribute) : AttributeValue;
  11. public function dissociateFromAttribute() : bool;
  12. public function findProductAttributes() : Collection;
  13. }