aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ORM/Repositories/PostRepository.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/namespace/ORM/Repositories/PostRepository.php')
-rw-r--r--core/namespace/ORM/Repositories/PostRepository.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/namespace/ORM/Repositories/PostRepository.php b/core/namespace/ORM/Repositories/PostRepository.php
index 400d596..24ab47f 100644
--- a/core/namespace/ORM/Repositories/PostRepository.php
+++ b/core/namespace/ORM/Repositories/PostRepository.php
@@ -1,8 +1,11 @@
<?php
namespace ORM\Repositories;
use ORM\Repository;
+use ORM\RepositorySearch;
class PostRepository extends Repository {
+ use RepositorySearch;
+
public static function getTableName(): string { return 'post'; }
public static function getClassName(): string { return 'ORM\Entities\Post'; }
}