15 lines
306 B
PHP
15 lines
306 B
PHP
<?php
|
|
|
|
namespace Illuminate\Contracts\Support;
|
|
|
|
interface Responsable
|
|
{
|
|
/**
|
|
* Create an HTTP response that represents the object.
|
|
*
|
|
* @param \Illuminate\Http\Request $request
|
|
* @return \Symfony\Component\HttpFoundation\Response
|
|
*/
|
|
public function toResponse($request);
|
|
}
|