diff options
author | Thomas Lange <code@nerdmind.de> | 2021-07-22 14:00:12 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-07-22 14:00:12 +0200 |
commit | 59392e460020447720089976b83139ad59d275fe (patch) | |
tree | 25cc766f352d9ae6319d22d43388db563d6ba404 /core/namespace/ORM/Repositories/Post.php | |
parent | 912a19ef8c58b87ac075d21cee0425f7715b4f94 (diff) | |
download | blog-59392e460020447720089976b83139ad59d275fe.tar.gz blog-59392e460020447720089976b83139ad59d275fe.tar.xz blog-59392e460020447720089976b83139ad59d275fe.zip |
Rename: Append "Repository" to repository classes
Rename the repository classes and append the name with "Repository" to
prevent naming confusions with the entity classes.
Diffstat (limited to 'core/namespace/ORM/Repositories/Post.php')
-rw-r--r-- | core/namespace/ORM/Repositories/Post.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/core/namespace/ORM/Repositories/Post.php b/core/namespace/ORM/Repositories/Post.php deleted file mode 100644 index 7f672e5..0000000 --- a/core/namespace/ORM/Repositories/Post.php +++ /dev/null @@ -1,10 +0,0 @@ -<?php -namespace ORM\Repositories; -use ORM\Repository; -use ORM\Entities\User; -use ORM\Entities\Category; - -class Post extends Repository { - public static function getTableName(): string { return 'post'; } - public static function getClassName(): string { return 'ORM\Entities\Post'; } -} |