![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mcoil.corals.io/app/Shop/Attributes/Repositories/ |
<?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; }