public function addReset($device)
    {
        if (!in_array($device, $this->resets)) {
            $this->resets[] = $device;
        }

        return $this;
    }
public function addReset($device)
    {
        if (!in_array($device, $this->resets)) {
            $this->resets[] = $device;
        }

        return $this;
    }
public function addReset ( $ device ) { if ( ! in_array ( $ device , $ this -> resets ) ) { $ this -> resets [ ] = $ device ; } return $ this ; }
Add a reset for a device.

@param string $device The device.

@return $this
Add a reset for a device .