Prado\Security\TUserManager::getUsers PHP 메소드

getUsers() 공개 메소드

Each array element represents a single user. The array key is the username in lower case, and the array value is the corresponding user password.
public getUsers ( ) : array
리턴 array list of users
    public function getUsers()
    {
        return $this->_users;
    }

Usage Example

예제 #1
0
 public function testUsers()
 {
     $userManager = new TUserManager();
     $userManager->init(self::$config);
     self::assertEquals(array('joe' => 'demo', 'john' => 'demo', 'test' => 'test'), $userManager->getUsers());
 }