src/Library/Logger.php
public static function writeArrayItem($item)
    {
        $str = '';
        try {
            $str .= serialize($item);
        } catch (\Exception $e) {
            if (is_object($item)) {
                $str .= get_class($item).'#';
            }
            $str .= spl_object_hash($item);
        }
        return $str;
    }
public static function writeArrayItem($item)
    {
        $str = '';
        try {
            $str .= serialize($item);
        } catch (\Exception $e) {
            if (is_object($item)) {
                $str .= get_class($item).'#';
            }
            $str .= spl_object_hash($item);
        }
        return $str;
    }
public static function writeArrayItem ( $ item ) { $ str = '' ; try { $ str .= serialize ( $ item ) ; } catch ( \ Exception $ e ) { if ( is_object ( $ item ) ) { $ str .= get_class ( $ item ) . '#' ; } $ str .= spl_object_hash ( $ item ) ; } return $ str ; }
Safely transform an array item in string

@param   array   $item
@return  string  The formatted string
Safely transform an array item in string