<?php

namespace ACP\Search\Comparison\User;

use ACP\Search\Operators;

class UserName extends UserField {

	public function __construct() {
		$operators = new Operators( array(
			Operators::EQ,
			Operators::CONTAINS,
			Operators::BEGINS_WITH,
			Operators::ENDS_WITH,
		) );

		parent::__construct( $operators );
	}

	protected function get_field() {
		return 'user_login';
	}

}