public function setPassword($password)
    {
        if (preg_match(self::PATTERN_MATCH_PASSWORD, $password) !== 1) {
            throw new \InvalidArgumentException('The specified password is not valid as part of a URI.', 1184071239);
        }

        $this->password = $password;
    }
public function setPassword($password)
    {
        if (preg_match(self::PATTERN_MATCH_PASSWORD, $password) !== 1) {
            throw new \InvalidArgumentException('The specified password is not valid as part of a URI.', 1184071239);
        }

        $this->password = $password;
    }
public function setPassword ( $ password ) { if ( preg_match ( self :: PATTERN_MATCH_PASSWORD , $ password ) !== 1 ) { throw new \ InvalidArgumentException ( 'The specified password is not valid as part of a URI.' , 1184071239 ) ; } $ this -> password = $ password ; }
Sets the URI's password

@param string $password Password of the login
@return void
@throws \InvalidArgumentException
@deprecated Since Flow 5.1, use withUserInfo instead
@see withUserInfo()
Sets the URI s password