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

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