public function __construct(Repository $repository) { $this->repo = $repository; $this->predicate = new Predicate(); }