password)) ? $user : new NullDataStore(); } public static function getProps() { return [ 'email', 'password', 'name', 'admin', 'sharedTicketList', 'verificationToken', ]; } public function getDefaultProps() { return [ 'admin' => 0 ]; } public static function getUser($value, $property = 'id') { return parent::getDataStore($value, $property); } }