/** * Prohibit invalid codepoints. */ protected function prohibit($codepoints) { parent::prohibit($codepoints); array_walk($codepoints, 'static::validateCodepoint', 'static::iscisProhibitFilter'); }
/** * Apply mapping (RFC 3454 section 3) */ protected function map($codepoints) { $codepoints = parent::map($codepoints); $codepoints = static::applyMappingTable($codepoints, 'static::saslprepMapUnicodeSpaceToSpace'); return $codepoints; }