JamesMoss\Flywheel\QueryExecuter::__construct PHP Method

__construct() public method

Constructor
public __construct ( Repository $repo, Predicate $pred, array $limit, array $orderBy )
$repo Repository The repo to execute against
$pred Predicate The predicate to use.
$limit array The count and offset.
$orderBy array An array of field names to order by
    public function __construct(Repository $repo, Predicate $pred, array $limit, array $orderBy)
    {
        $this->repo = $repo;
        $this->predicate = $pred;
        $this->limit = $limit;
        $this->orderBy = $orderBy;
    }