Znerol\Component\Stringprep\Profile::applyMappingTable PHP Method

applyMappingTable() protected static method

Helper method: Apply a mapping table function to the given array of codepoints.
protected static applyMappingTable ( $codepoints, $func )
    protected static function applyMappingTable($codepoints, $func)
    {
        if (count($codepoints)) {
            return call_user_func_array('array_merge', array_map($func, $codepoints));
        } else {
            return $codepoints;
        }
    }