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

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