summaryrefslogtreecommitdiffstats
path: root/core/namespace/Page/Factory.php
blob: f53b35f5f909e232a6a0577e14ac81eb0950bcac (plain)
1
2
3
4
5
6
7
8
9
<?php
namespace Page;

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