SimpleSoftwareIO\QrCode\DataTypes\WiFi::setProperties PHP Method

setProperties() protected method

Sets the WiFi properties.
protected setProperties ( array $arguments )
$arguments array
    protected function setProperties(array $arguments)
    {
        $arguments = $arguments[0];
        if (isset($arguments['encryption'])) {
            $this->encryption = $arguments['encryption'];
        }
        if (isset($arguments['ssid'])) {
            $this->ssid = $arguments['ssid'];
        }
        if (isset($arguments['password'])) {
            $this->password = $arguments['password'];
        }
        if (isset($arguments['hidden'])) {
            $this->hidden = $arguments['hidden'];
        }
    }