|
38 | 38 | * Collection containing object ids by object type |
39 | 39 | */ |
40 | 40 | class SystemTagsObjectTypeCollection implements ICollection { |
| 41 | + private string $objectType; |
| 42 | + private ISystemTagManager $tagManager; |
| 43 | + private ISystemTagObjectMapper $tagMapper; |
| 44 | + private IUserSession $userSession; |
| 45 | + private IGroupManager $groupManager; |
| 46 | + protected \Closure $childExistsFunction, |
| 47 | + protected \Closure $childWriteAccessFunction; |
| 48 | + |
41 | 49 | public function __construct( |
42 | | - private string $objectType, |
43 | | - private ISystemTagManager $tagManager, |
44 | | - private ISystemTagObjectMapper $tagMapper, |
45 | | - private IUserSession $userSession, |
46 | | - private IGroupManager $groupManager, |
47 | | - protected \Closure $childExistsFunction, |
48 | | - protected \Closure $childWriteAccessFunction, |
| 50 | + string $objectType, |
| 51 | + ISystemTagManager $tagManager, |
| 52 | + ISystemTagObjectMapper $tagMapper, |
| 53 | + IUserSession $userSession, |
| 54 | + IGroupManager $groupManager, |
| 55 | + \Closure $childExistsFunction, |
| 56 | + \Closure $childWriteAccessFunction |
49 | 57 | ) { |
| 58 | + $this->objectType = $objectType; |
| 59 | + $this->tagManager = $tagManager; |
| 60 | + $this->tagMapper = $tagMapper; |
| 61 | + $this->userSession = $userSession; |
| 62 | + $this->groupManager = $groupManager; |
| 63 | + $this->childExistsFunction = $childExistsFunction; |
| 64 | + $this->childWriteAccessFunction = $childWriteAccessFunction; |
50 | 65 | } |
51 | 66 |
|
52 | 67 | /** |
|
0 commit comments