Skip to content

Commit 508adb2

Browse files
author
Bernhard Schmitt
committed
Remove deprecated methods and artifacts
1 parent 10b7edf commit 508adb2

3 files changed

Lines changed: 0 additions & 144 deletions

File tree

Classes/Fusion/AbstractComponentPresentationObjectFactory.php

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
use Neos\Eel\ProtectedContextAwareInterface;
1616
use Neos\Flow\Annotations as Flow;
1717
use Neos\Flow\I18n\Translator;
18-
use Neos\Neos\Service\ContentElementEditableService;
19-
use Neos\Neos\Service\ContentElementWrappingService;
2018

2119
/**
2220
* The generic abstract component presentation object factory implementation
@@ -25,17 +23,6 @@ abstract class AbstractComponentPresentationObjectFactory implements
2523
ComponentPresentationObjectFactoryInterface,
2624
ProtectedContextAwareInterface
2725
{
28-
/**
29-
* @Flow\Inject
30-
* @var ContentElementWrappingService
31-
*/
32-
protected $contentElementWrappingService;
33-
34-
/**
35-
* @Flow\Inject
36-
* @var ContentElementEditableService
37-
*/
38-
protected $contentElementEditableService;
3926

4027
#[Flow\Inject]
4128
protected UriServiceInterface $uriService;
@@ -52,41 +39,6 @@ abstract class AbstractComponentPresentationObjectFactory implements
5239
*/
5340
protected $nodeTypeConstraintFactory;
5441

55-
/**
56-
* @param TraversableNodeInterface $node
57-
* @param PresentationObjectComponentImplementation $fusionObject
58-
* @return callable
59-
* @deprecated since 3.0 Use PackageFactory\AtomicFusion\PresentationObjects\Presentation\Slot\Content for content integration pusposes instead
60-
*/
61-
final protected function createWrapper(TraversableNodeInterface $node, PresentationObjectComponentImplementation $fusionObject): callable
62-
{
63-
$wrappingService = $this->contentElementWrappingService;
64-
65-
return function (string $content) use ($node, $fusionObject, $wrappingService) {
66-
/** @var NodeInterface $node */
67-
return $wrappingService->wrapContentObject($node, $content, $fusionObject->getPath());
68-
};
69-
}
70-
71-
/**
72-
* @param TraversableNodeInterface $node
73-
* @param string $propertyName
74-
* @param boolean $block
75-
* @return string
76-
* @deprecated since 3.0 Use PackageFactory\AtomicFusion\PresentationObjects\Presentation\Slot\Editable for editable property integration pusposes instead
77-
*/
78-
final protected function getEditableProperty(TraversableNodeInterface $node, string $propertyName, bool $block = false): string
79-
{
80-
/** @var NodeInterface $node */
81-
return $this->contentElementEditableService->wrapContentProperty(
82-
$node,
83-
$propertyName,
84-
($block ? '<div>' : '')
85-
. ($node->getProperty($propertyName) ?: '')
86-
. ($block ? '</div>' : '')
87-
);
88-
}
89-
9042
/**
9143
* @param TraversableNodeInterface $parentNode
9244
* @param string $nodeTypeFilterString

Classes/Fusion/SelfWrapping.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

Tests/Unit/Fusion/SelfWrappingTest.php

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)