-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathKeyGroupLayoutServiceInterface.php
More file actions
43 lines (38 loc) · 1.24 KB
/
KeyGroupLayoutServiceInterface.php
File metadata and controls
43 lines (38 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
declare(strict_types=1);
/**
* This source file is available under the terms of the
* Pimcore Open Core License (POCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
* @license Pimcore Open Core License (POCL)
*/
namespace Pimcore\Bundle\StudioBackendBundle\ClassificationStore\Service;
use Exception;
use Pimcore\Bundle\StudioBackendBundle\ClassificationStore\MappedParameter\LayoutParameter;
use Pimcore\Bundle\StudioBackendBundle\ClassificationStore\Schema\KeyLayout;
use Pimcore\Model\DataObject\ClassDefinition\Data;
use Pimcore\Model\DataObject\ClassDefinition\Data\EncryptedField;
use Pimcore\Model\DataObject\Classificationstore\KeyGroupRelation;
use Pimcore\Model\DataObject\Concrete;
/**
* @internal
*/
interface KeyGroupLayoutServiceInterface
{
/**
* @throws Exception
*/
public function getLayoutDefinition(
KeyGroupRelation $keyGroupRelation,
string $fieldName,
?Concrete $object = null,
): EncryptedField|Data;
public function getKeyLayout(
LayoutParameter $layoutParameter,
int $keyId,
int $groupId
): KeyLayout;
}