- Full name:
\App\Infrastructure\Services\Attribute\AttributeRepository
Methods
getAttribute
Parameters:
| Parameter | Type | Description |
|---|---|---|
$type |
string | |
$id |
string |
saveAttribute
public saveAttribute(string $type, string $id, \App\Infrastructure\Services\Attribute\AttributeBag $attribute): void
Parameters:
| Parameter | Type | Description |
|---|---|---|
$type |
string | |
$id |
string | |
$attribute |
\App\Infrastructure\Services\Attribute\AttributeBag |
patchAttribute
public patchAttribute(string $type, string $id, callable $callback): \App\Infrastructure\Services\Attribute\AttributeBag
Parameters:
| Parameter | Type | Description |
|---|---|---|
$type |
string | |
$id |
string | |
$callback |
callable |