repository = $repository; } /** * Execute the §8.2 list dispatch. * * Delegates verbatim to * {@see ProductRepository::findPaginated()}; the supplied * query's invariants are already enforced at its construction * site so no further validation runs here. * * @param ProductListQuery $query Normalized list query. * * @return ProductListResult Page slice plus pagination totals. */ public function execute( ProductListQuery $query ): ProductListResult { return $this->repository->findPaginated( $query ); } }