Contao Utils Bundle

Deprecated

Table of Contents

src/Util/ArrayUtil.php
src/Util/ClassUtil.php
src/Util/StringUtil.php

ArrayUtil.php

Line Element Reason
27 ArrayUtil::insertBeforeKey()

Use StaticArrayUtil::insertBeforeKey() instead.

52 ArrayUtil::insertAfterKey()

Use StaticArrayUtil::insertAfterKey() instead. Beware: The option keys have changed!

66 ArrayUtil::removeValue()

Use StaticArrayUtil::removeValue() instead.

ClassUtil.php

Line Element Reason
14 ClassUtil::classImplementsTrait()

Use StaticClassUtil::hasTrait() 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