Bitpay\Application::addUser PHP Method

addUser() public method

Add user to stack
public addUser ( bitpay\UserInterface $user ) : bitpay\ApplicationInterface
$user bitpay\UserInterface
return bitpay\ApplicationInterface
    public function addUser(UserInterface $user)
    {
        if (!empty($user)) {
            $this->users[] = $user;
        }
        return $this;
    }