src/ICal/Event.php
protected function prepareData($value)
    {
        if (is_string($value)) {
            return stripslashes(trim(str_replace('\n', "\n", $value)));
        } elseif (is_array($value)) {
            return array_map('self::prepareData', $value);
        }

        return $value;
    }
protected function prepareData($value)
    {
        if (is_string($value)) {
            return stripslashes(trim(str_replace('\n', "\n", $value)));
        } elseif (is_array($value)) {
            return array_map('self::prepareData', $value);
        }

        return $value;
    }
protected function prepareData ( $ value ) { if ( is_string ( $ value ) ) { return stripslashes ( trim ( str_replace ( '\n' , "\n" , $ value ) ) ) ; } elseif ( is_array ( $ value ) ) { return array_map ( 'self::prepareData' , $ value ) ; } return $ value ; }
Prepares the data for output

@param  mixed $value
@return mixed
Prepares the data for output