src/ViKon/Auth/AuthSeederTrait.php
protected function newUserModel($username, $password, array $options = [])
    {
        $user           = new User();
        $user->username = $username;
        $user->password = $password;

        foreach ($options as $key => $value) {
            $user->{$key} = $value;
        }

        return $user;
    }
protected function newUserModel($username, $password, array $options = [])
    {
        $user           = new User();
        $user->username = $username;
        $user->password = $password;

        foreach ($options as $key => $value) {
            $user->{$key} = $value;
        }

        return $user;
    }
protected function newUserModel ( $ username , $ password , array $ options = [ ] ) { $ user = new User ( ) ; $ user -> username = $ username ; $ user -> password = $ password ; foreach ( $ options as $ key => $ value ) { $ user -> { $ key } = $ value ; } return $ user ; }
Create new user model instance

@param string $username
@param string $password
@param array  $options

@return \ViKon\Auth\Model\User
Create new user model instance