public function __construct(Repository $repo, Predicate $pred, array $limit, array $orderBy) { $this->repo = $repo; $this->predicate = $pred; $this->limit = $limit; $this->orderBy = $orderBy; }