PHP Class InfyOm\Generator\Criteria\LimitOffsetCriteria

Inheritance: implements Prettus\Repository\Contracts\CriteriaInterface
显示文件 Open project: infyomlabs/laravel-generator

Protected Properties

Property Type Description
$request Illuminate\Http\Request

Public Methods

Method Description
__construct ( Illuminate\Http\Request $request )
apply ( $model, Prettus\Repository\Contracts\RepositoryInterface $repository ) : mixed Apply criteria in query repository.

Method Details

__construct() public method

public __construct ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request

apply() public method

Apply criteria in query repository.
public apply ( $model, Prettus\Repository\Contracts\RepositoryInterface $repository ) : mixed
$model
$repository Prettus\Repository\Contracts\RepositoryInterface
return mixed

Property Details

$request protected_oe property

protected Request,Illuminate\Http $request
return Illuminate\Http\Request