<?php

namespace Velis\Session\Serializer;

/**
 * @author Damian Kurek <damian.kurek@velis.pl>
 */
class PhpSerializer extends AbstractSerializer
{
    /**
     * {@inheritDoc}
     */
    protected function postSerialize($data)
    {
        return serialize($data);
    }

    /**
     * {@inheritDoc}
     */
    protected function preUnserialize($data)
    {
        return unserialize($data);
    }
}
