Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 660 Bytes
<?php
/**
* @file
* Requested Data Interface.
*
* All LaravelJqGrid code is copyright by the original authors and released under the MIT License.
* See LICENSE.
*/
namespace Mgallegos\LaravelJqgrid\Encoders;
use Mgallegos\LaravelJqgrid\Repositories\RepositoryInterface;
interface RequestedDataInterface {
/**
* Echo in a jqGrid compatible format the data requested by a grid.
*
* @param RepositoryInterface $dataRepository
* An implementation of the RepositoryInterface
* @param array $postedData
* All jqGrid posted data
* @return void
*/
public function encodeRequestedData(RepositoryInterface $Repository, $postedData);
}