aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/Page/Factory.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-03-04 22:19:02 +0100
committerThomas Lange <code@nerdmind.de>2017-03-04 22:21:54 +0100
commit1e49615c8c433c1f9c2f2ade1762411f2f3eb091 (patch)
tree506e2342640ecb9e7c4306a593497974dc2fcbbe /core/namespace/Page/Factory.php
parent80b320f0ca1d4dd1e8096f155334f0419a5733d4 (diff)
downloadblog-1e49615c8c433c1f9c2f2ade1762411f2f3eb091.tar.gz
blog-1e49615c8c433c1f9c2f2ade1762411f2f3eb091.tar.xz
blog-1e49615c8c433c1f9c2f2ade1762411f2f3eb091.zip
Factory method "buildBySlug" is now defined in the "ItemFactory" class.
Diffstat (limited to 'core/namespace/Page/Factory.php')
-rw-r--r--core/namespace/Page/Factory.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/namespace/Page/Factory.php b/core/namespace/Page/Factory.php
index f53b35f..4b8d390 100644
--- a/core/namespace/Page/Factory.php
+++ b/core/namespace/Page/Factory.php
@@ -1,9 +1,5 @@
<?php
namespace Page;
-class Factory extends \ItemFactory {
- public static function buildBySlug($slug): \Item {
- return self::build(Item::getIDByField('slug', $slug, \Application::getDatabase()));
- }
-}
+class Factory extends \ItemFactory {}
?> \ No newline at end of file