View file vendor/illuminate/contracts/Support/Jsonable.php
<?php namespace Illuminate\Contracts\Support; interface Jsonable { /** * Convert the object to its JSON representation. * * @param int $options * @return string */ public function toJson($options = 0); }