private function processMask($mask)
    {
        foreach ($mask as $key => $value) {
            return '.' . $key . (is_array($value) ? $this->processMask($value) : '');
        }
    }
private function processMask($mask)
    {
        foreach ($mask as $key => $value) {
            return '.' . $key . (is_array($value) ? $this->processMask($value) : '');
        }
    }
private function processMask ( $ mask ) { foreach ( $ mask as $ key => $ value ) { return '.' . $ key . ( is_array ( $ value ) ? $ this -> processMask ( $ value ) : '' ) ; } }
Recursive processor for processing user masks.

@param array $mask

@return string
Recursive processor for processing user masks .