BookStack/app/Entities/Queries/EntityQueries.php
Dan Brown 1559b0acd1
Queries: Migrated BookRepo queries to new query class
Also moved to a non-static approach, and added a high-level class to
allow easy access to all other entity queries, for use in mixed-entity
scenarios and easier/simpler injection.
2024-02-04 17:35:16 +00:00

13 lines
187 B
PHP

<?php
namespace BookStack\Entities\Queries;
class EntityQueries
{
public function __construct(
public BookQueries $books,
public PageQueries $pages,
) {
}
}