Overview

Namespaces

  • Baguette
    • Application
    • Response
    • Serializer
    • Session
  • Overview
  • Namespace
  • Class
 1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 
<?php

namespace Baguette\Serializer;

/**
 * Interface of Response serializer classes
 *
 * @author    USAMI Kenta <tadsan@zonu.me>
 * @copyright 2016 Baguette HQ
 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache-2.0
 */
interface SerializerInterface
{
    /** @return string */
    public function getContentType();

    /**
     * @param  mixed  $value
     * @return string
     */
    public function serialize($value);
}
ξ ^ω^)ξ < Baguette Not Framework API documentation generated by ApiGen