<?php
namespace IZON\Admin\Dao;

use IZON\DB\Dao;
use IZON\DB\QueryResult;

use IZON\Admin\Domain\AdminUser;

interface AdminUserDao extends Dao {
    
    /**
     * pro jakou tridu se toto dao pouziva
     */
    const DOMAIN_CLASS = AdminUser::class;

    /**
     * Vraci uzivatele se stejnym loginem
     * @return QueryResult
     */
    public function findUserByLogin($login);
}