Contao Utils Bundle

Deprecated

Table of Contents

src/EntityFinder/Element.php
src/Event/EntityFinderFindEvent.php
src/Event/ExtendEntityFinderEvent.php
src/Util/ArrayUtil.php
src/Util/ClassUtil.php
src/Util/ContainerUtil.php
src/Util/StringUtil.php

Element.php

Line Element Reason
23 Element::getId()
31 Element::getTable()
39 Element::getDescription()

EntityFinderFindEvent.php

Line Element Reason
21 EntityFinderFindEvent::getTable()
29 EntityFinderFindEvent::getId()

ExtendEntityFinderEvent.php

Line Element Reason
17 ExtendEntityFinderEvent

Use EntityFinderFindEvent instead

ArrayUtil.php

Line Element Reason
27 ArrayUtil::insertBeforeKey()

Use SUtil::array()->insertBeforeKey(...) instead.

52 ArrayUtil::insertAfterKey()

Use SUtil::array()->insertAfterKey(...) instead. Beware: The option keys have changed!

66 ArrayUtil::removeValue()

Use SUtil::array()->removeValue(...) instead.

ClassUtil.php

Line Element Reason
14 ClassUtil::classImplementsTrait()

Use SUtil::class()->hasTrait(...) instead.

ContainerUtil.php

Line Element Reason
165 ContainerUtil::isPreviewMode()

Use TokenChecker::isPreviewMode() instead

StringUtil.php

Line Element Reason
220 StringUtil::removeLeadingString()

Replace with userland code. Will be removed in the next major version.

242 StringUtil::removeTrailingString()

Replace with userland code. Will be removed in the next major version.

Search results