aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/Post/Factory.php
blob: 34aa5e47deacc42573ac6dbe2329fcd71b7f15f5 (plain)
1
2
3
4
5
6
7
8
9
<?php
namespace Post;

class Factory extends \ItemFactory {
	public static function buildBySlug($slug): \Item {
		return self::build(Item::getIDByField('slug', $slug, \Application::getDatabase()));
	}
}
?>