<?php


namespace Mnv\Core\Collections\Contracts;

/**
 * Interface Responsable
 * @package Mnv\Core\Collections\Contracts
 */
interface Responsable
{
    /**
     * Create an HTTP response that represents the object.
     *
     * @param  \Mnv\Http\Request  $request
     * @return \Symfony\Component\HttpFoundation\Response
     */
    public function toResponse($request);
}
