-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDataObjectFolderResolverContractInterface.php
More file actions
57 lines (38 loc) · 1.68 KB
/
DataObjectFolderResolverContractInterface.php
File metadata and controls
57 lines (38 loc) · 1.68 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?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\StaticResolverBundle\Contract\Models\DataObject;
use Pimcore\Model\DataObject\AbstractObject;
use Pimcore\Model\DataObject\Concrete;
use Pimcore\Model\DataObject\Folder;
use Pimcore\Model\DataObject\Listing;
interface DataObjectFolderResolverContractInterface
{
public function getById(int $id, array $params = []): null|Folder;
public function create(array $values): Folder;
public function getHideUnpublished(): bool;
public function setHideUnpublished(bool $hideUnpublished): void;
public function doHideUnpublished(): bool;
public function getGetInheritedProperties(): bool;
public function setGetInheritedProperties(bool $getInheritedProperties): void;
public function setGetInheritedValues(bool $getInheritedValues): void;
public function getGetInheritedValues(): bool;
public function doGetInheritedValues(?Concrete $object = null): bool;
public function getTypes(): array;
public function getByPath(string $path, array $params = []): AbstractObject|null;
/**
* @throws \Exception
*/
public function getList(array $config = []): Listing;
public function doNotRestoreKeyAndPath(): bool;
public function setDoNotRestoreKeyAndPath(bool $doNotRestoreKeyAndPath): void;
public function locateDaoClass(string $modelClass): ?string;
}