StringHelper

Implements \StringHelperInterface, \CrossCuttingObjectInterface

Class StringHelper

category

System

package

Extensions

subpackage

Helpers

implements

StringHelperInterface, CrossCuttingObjectInterface

Methods

Converts NULL values to empty string inside an array

convertNullValuesToStringInArray(array $array) : array

Arguments

$array

array

Response

array

Returns a cleaned filename by removing or replacing invalid characters.

correctToValidFilename(string $p_filename) : string
Throws
\InvalidArgumentException

if $p_filename is not a string

Arguments

$p_filename

string

Response

string

cleaned filename